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

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ ConstAndNonConstCastable()

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

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

163 : converted_(converted), const_converted_(const_converted) {}

Member Function Documentation

◆ operator Base() [1/2]

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

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

164 {
165 *converted_ = true;
166 return Base();
167 }

◆ operator Base() [2/2]

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

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

168 {
169 *const_converted_ = true;
170 return Base();
171 }

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