proxygen
testing::internal::ConstCastable Class Reference

Public Member Functions

 ConstCastable (bool *converted)
 
 operator Base () const
 
 ConstCastable (bool *converted)
 
 operator Base () const
 
 ConstCastable (bool *converted)
 
 operator Base () const
 

Private Attributes

bool * converted_
 

Detailed Description

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

Constructor & Destructor Documentation

testing::internal::ConstCastable::ConstCastable ( bool *  converted)
inlineexplicit

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

151 : converted_(converted) {}
testing::internal::ConstCastable::ConstCastable ( bool *  converted)
inlineexplicit

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

151 : converted_(converted) {}
testing::internal::ConstCastable::ConstCastable ( bool *  converted)
inlineexplicit

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

151 : converted_(converted) {}

Member Function Documentation

testing::internal::ConstCastable::operator Base ( ) const
inline

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

152  {
153  *converted_ = true;
154  return Base();
155  }
AtomicCounter< T, DeterministicAtomic > Base
testing::internal::ConstCastable::operator Base ( ) const
inline

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

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

152  {
153  *converted_ = true;
154  return Base();
155  }
AtomicCounter< T, DeterministicAtomic > Base
testing::internal::ConstCastable::operator Base ( ) const
inline

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

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

152  {
153  *converted_ = true;
154  return Base();
155  }
AtomicCounter< T, DeterministicAtomic > Base

Member Data Documentation

bool * testing::internal::ConstCastable::converted_
private

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


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