XXX use pointer instead?? XXX not used?? More...
#include <utils.h>
Public Member Functions | |
Maybe (const Maybe< T > &_obj) | |
operator bool () | |
bool | operator!= (const Maybe< T > &_obj) const |
bool | operator== (const Maybe< T > &_obj) const |
T & | value () const |
Static Public Member Functions | |
static Maybe< T > | yes (const T &_obj) |
Static Public Attributes | |
static const Maybe< T > | no |
Private Member Functions | |
Maybe () | |
Private Attributes | |
T * | obj |
XXX use pointer instead?? XXX not used??