tesseract v5.3.3.20231005
testing::internal::ConstCastable Class Reference

Public Member Functions

 ConstCastable (bool *converted)
 
 operator Base () const
 

Detailed Description

Definition at line 139 of file googletest-port-test.cc.

Constructor & Destructor Documentation

◆ ConstCastable()

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

Definition at line 141 of file googletest-port-test.cc.

141: converted_(converted) {}

Member Function Documentation

◆ operator Base()

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

Definition at line 142 of file googletest-port-test.cc.

142 {
143 *converted_ = true;
144 return Base();
145 }

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