Public Member Functions | |
Option () | |
Option (T const &_value) | |
Option (Option const &_other) | |
~Option () | |
Option & | operator= (Option const &_other) |
Option & | operator= (T const &_value) |
void | reset () |
T & | operator* () |
T const & | operator* () const |
T * | operator-> () |
const T * | operator-> () const |
T | valueOr (T const &defaultValue) const |
bool | some () const |
bool | none () const |
bool | operator! () const |
operator bool () const | |
Option | ( | ) |
Option | ( | T const & | _value | ) |
~Option | ( | ) |
Option& operator= | ( | T const & | _value | ) |
void reset | ( | ) |
T& operator* | ( | ) |
T const& operator* | ( | ) | const |
T* operator-> | ( | ) |
const T* operator-> | ( | ) | const |
T valueOr | ( | T const & | defaultValue | ) | const |
bool some | ( | ) | const |
bool none | ( | ) | const |
bool operator! | ( | ) | const |
|
explicit |