All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Private Attributes | List of all members
Catch::Option< T > Class Template Reference

Public Member Functions

 Option (T const &_value)
 Option (Option const &_other)
Optionoperator= (Option const &_other)
Optionoperator= (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

Private Attributes

T * nullableValue
char storage [sizeof(T)]

Detailed Description

template<typename T>
class Catch::Option< T >

Definition at line 4409 of file catch.hpp.

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