#include <optional.h>
Public Member Functions | |
bool | has_value () const |
optional< T > & | operator= (const T &other_value) |
optional< T > & | operator= (const optional< T > &other) |
optional () | |
optional (const optional &other) | |
optional (const T &value) | |
const T & | value () const |
Private Attributes | |
std::unique_ptr< T > | value_ |
Definition at line 29 of file optional.h.
|
inline |
Definition at line 31 of file optional.h.
|
inline |
Definition at line 33 of file optional.h.
|
inlineexplicit |
Definition at line 39 of file optional.h.
|
inline |
Definition at line 41 of file optional.h.
|
inline |
Definition at line 48 of file optional.h.
|
inline |
Definition at line 53 of file optional.h.
|
inline |
Definition at line 43 of file optional.h.
|
private |
Definition at line 63 of file optional.h.