Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::ConstCastable Class Reference

Public Member Functions

 ConstCastable (bool *converted)
 
 operator Base () const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ConstCastable()

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

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

143: converted_(converted) {}

Member Function Documentation

◆ operator Base()

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

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

144 {
145 *converted_ = true;
146 return Base();
147 }

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