proxygen
testing::internal::ConstAndNonConstCastable Class Reference

Public Member Functions

 ConstAndNonConstCastable (bool *converted, bool *const_converted)
 
 operator Base ()
 
 operator Base () const
 
 ConstAndNonConstCastable (bool *converted, bool *const_converted)
 
 operator Base ()
 
 operator Base () const
 
 ConstAndNonConstCastable (bool *converted, bool *const_converted)
 
 operator Base ()
 
 operator Base () const
 

Private Attributes

bool * converted_
 
bool * const_converted_
 

Detailed Description

Definition at line 168 of file gtest-port_test.cc.

Constructor & Destructor Documentation

testing::internal::ConstAndNonConstCastable::ConstAndNonConstCastable ( bool *  converted,
bool *  const_converted 
)
inline

Definition at line 170 of file gtest-port_test.cc.

testing::internal::ConstAndNonConstCastable::ConstAndNonConstCastable ( bool *  converted,
bool *  const_converted 
)
inline

Definition at line 170 of file gtest-port_test.cc.

testing::internal::ConstAndNonConstCastable::ConstAndNonConstCastable ( bool *  converted,
bool *  const_converted 
)
inline

Definition at line 170 of file gtest-port_test.cc.

Member Function Documentation

testing::internal::ConstAndNonConstCastable::operator Base ( )
inline

Definition at line 172 of file gtest-port_test.cc.

172  {
173  *converted_ = true;
174  return Base();
175  }
AtomicCounter< T, DeterministicAtomic > Base
testing::internal::ConstAndNonConstCastable::operator Base ( )
inline

Definition at line 172 of file gtest-port_test.cc.

172  {
173  *converted_ = true;
174  return Base();
175  }
AtomicCounter< T, DeterministicAtomic > Base
testing::internal::ConstAndNonConstCastable::operator Base ( )
inline

Definition at line 172 of file gtest-port_test.cc.

172  {
173  *converted_ = true;
174  return Base();
175  }
AtomicCounter< T, DeterministicAtomic > Base
testing::internal::ConstAndNonConstCastable::operator Base ( ) const
inline

Definition at line 176 of file gtest-port_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and testing::internal::TEST().

176  {
177  *const_converted_ = true;
178  return Base();
179  }
AtomicCounter< T, DeterministicAtomic > Base
testing::internal::ConstAndNonConstCastable::operator Base ( ) const
inline

Definition at line 176 of file gtest-port_test.cc.

176  {
177  *const_converted_ = true;
178  return Base();
179  }
AtomicCounter< T, DeterministicAtomic > Base
testing::internal::ConstAndNonConstCastable::operator Base ( ) const
inline

Definition at line 176 of file gtest-port_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and testing::internal::TEST().

176  {
177  *const_converted_ = true;
178  return Base();
179  }
AtomicCounter< T, DeterministicAtomic > Base

Member Data Documentation

bool * testing::internal::ConstAndNonConstCastable::const_converted_
private

Definition at line 183 of file gtest-port_test.cc.

bool * testing::internal::ConstAndNonConstCastable::converted_
private

Definition at line 182 of file gtest-port_test.cc.


The documentation for this class was generated from the following file: