proxygen
testing::internal::Castable Class Reference

Public Member Functions

 Castable (bool *converted)
 
 operator Base ()
 
 Castable (bool *converted)
 
 operator Base ()
 
 Castable (bool *converted)
 
 operator Base ()
 

Private Attributes

bool * converted_
 

Detailed Description

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

Constructor & Destructor Documentation

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

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

132 : converted_(converted) {}
testing::internal::Castable::Castable ( bool *  converted)
inlineexplicit

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

132 : converted_(converted) {}
testing::internal::Castable::Castable ( bool *  converted)
inlineexplicit

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

132 : converted_(converted) {}

Member Function Documentation

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

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

133  {
134  *converted_ = true;
135  return Base();
136  }
AtomicCounter< T, DeterministicAtomic > Base
testing::internal::Castable::operator Base ( )
inline

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

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

133  {
134  *converted_ = true;
135  return Base();
136  }
AtomicCounter< T, DeterministicAtomic > Base
testing::internal::Castable::operator Base ( )
inline

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

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

133  {
134  *converted_ = true;
135  return Base();
136  }
AtomicCounter< T, DeterministicAtomic > Base

Member Data Documentation

bool * testing::internal::Castable::converted_
private

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


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