Horizon
Loading...
Searching...
No Matches
Catch::Optional< T > Class Template Reference

Public Member Functions

 Optional (T const &_value)
 Optional (Optional const &_other)
Optional & operator= (Optional const &_other)
Optional & operator= (T const &_value)
void reset ()
T & operator* ()
T const & operator* () const
T * operator-> ()
const T * operator-> () const
valueOr (T const &defaultValue) const
bool some () const
bool none () const
bool operator! () const
 operator bool () const

Friends

bool operator== (Optional const &a, Optional const &b)
bool operator!= (Optional const &a, Optional const &b)

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