Fake false, it is actually True. More...
Public Member Functions | |
bool | BoolCast () const |
Fake false, it is actually True.
This class does not behave as naively expected. The static type resolution makes it use the base-class' BoolCast.
You cannot derive additionally from SafeBoolCast<myFakeFalse>, as demonstrated in the testBoolCastNonVirtualDerived.cc test.
You have to use the virtual SaveBoolCast, see the classes myTrueBase and myFalseDerived.
Definition at line 45 of file testBoolCast.cc.
|
inline |
Definition at line 47 of file testBoolCast.cc.