Base class of all SafeBool instances. More...
#include <SafeBool.h>
Protected Types | |
typedef void(base::* | BoolType_t) () const |
The bool type is a pointer to method that can be used in boolean context. More... | |
Protected Member Functions | |
void | invalidTag () const |
Nonimplemented call, use to disallow conversion between unrelated types. More... | |
void | trueTag () const |
Special member function that indicates a true value. More... | |
Base class of all SafeBool instances.
This nontemplate base class exists to reduce the number of instantiation of the trueTag function.
Definition at line 42 of file common/SafeBool.h.
|
protected |
The bool type is a pointer to method that can be used in boolean context.
Definition at line 50 of file common/SafeBool.h.
|
protected |
Nonimplemented call, use to disallow conversion between unrelated types.
|
protected |
Special member function that indicates a true value.
Definition at line 60 of file common/SafeBool.h.