#include <catch.hpp>
Public Member Functions | |
bool | none () const |
operator SafeBool::type () const | |
bool | operator! () const |
T & | operator* () |
T const & | operator* () const |
T * | operator-> () |
const T * | operator-> () const |
Option & | operator= (Option const &_other) |
Option & | operator= (T const &_value) |
Option () | |
Option (T const &_value) | |
Option (Option const &_other) | |
void | reset () |
bool | some () const |
T | valueOr (T const &defaultValue) const |
~Option () | |
Private Attributes | |
T * | nullableValue |
char | storage [sizeof(T)] |
Catch::Option< T >::Option | ( | ) | [inline] |
Catch::Option< T >::Option | ( | T const & | _value | ) | [inline] |
Catch::Option< T >::Option | ( | Option< T > const & | _other | ) | [inline] |
Catch::Option< T >::~Option | ( | ) | [inline] |
bool Catch::Option< T >::none | ( | ) | const [inline] |
Catch::Option< T >::operator SafeBool::type | ( | ) | const [inline] |
bool Catch::Option< T >::operator! | ( | ) | const [inline] |
T& Catch::Option< T >::operator* | ( | ) | [inline] |
T const& Catch::Option< T >::operator* | ( | ) | const [inline] |
T* Catch::Option< T >::operator-> | ( | ) | [inline] |
const T* Catch::Option< T >::operator-> | ( | ) | const [inline] |
Option& Catch::Option< T >::operator= | ( | Option< T > const & | _other | ) | [inline] |
Option& Catch::Option< T >::operator= | ( | T const & | _value | ) | [inline] |
void Catch::Option< T >::reset | ( | ) | [inline] |
bool Catch::Option< T >::some | ( | ) | const [inline] |
T Catch::Option< T >::valueOr | ( | T const & | defaultValue | ) | const [inline] |
T* Catch::Option< T >::nullableValue [private] |
char Catch::Option< T >::storage[sizeof(T)] [private] |