ManaPlus
|
#include <catch.hpp>
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 SafeBool::type () const | |
Private Attributes | |
T * | nullableValue |
char | storage [sizeof(T)] |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 2758 of file catch.hpp.
References CATCH_NULL.
|
inline |
|
inline |
|
private |
|
private |