#include <optional.h>
Public Member Functions | |
| OptRefStorage () | |
| OptRefStorage (NO_VALUE_TYPE) | |
| OptRefStorage & | operator= (NO_VALUE_TYPE) |
| OptRefStorage (const OptRefStorage &src) | |
| template<typename U > | |
| OptRefStorage (const OptRefStorage< U > &src) | |
| OptRefStorage & | operator= (const OptRefStorage &src) |
| template<typename U > | |
| OptRefStorage & | operator= (const OptRefStorage< U > &src) |
| OptRefStorage (OptRefStorage &&src) | |
| template<typename U > | |
| OptRefStorage (OptRefStorage< U > &&src) | |
| OptRefStorage & | operator= (OptRefStorage &&src) |
| template<typename U > | |
| OptRefStorage & | operator= (OptRefStorage< U > &&src) |
| template<typename U > | |
| OptRefStorage (const U &refValue) | |
| template<typename U > | |
| OptRefStorage & | operator= (const U &refValue) |
| template<typename U > | |
| OptRefStorage (IN_PLACE_TYPE, U refValue) | |
| T & | GetValueRef () |
| const T & | GetValueRef () const |
| Bool | HasValue () const |
Private Attributes | |
| T | _refValue |
| OptRefStorage | ( | ) |
|
explicit |
| OptRefStorage | ( | const OptRefStorage< T > & | src | ) |
| OptRefStorage | ( | const OptRefStorage< U > & | src | ) |
| OptRefStorage | ( | OptRefStorage< T > && | src | ) |
| OptRefStorage | ( | OptRefStorage< U > && | src | ) |
|
explicit |
|
explicit |
| OptRefStorage& operator= | ( | NO_VALUE_TYPE | ) |
| OptRefStorage& operator= | ( | const OptRefStorage< T > & | src | ) |
| OptRefStorage& operator= | ( | const OptRefStorage< U > & | src | ) |
| OptRefStorage& operator= | ( | OptRefStorage< T > && | src | ) |
| OptRefStorage& operator= | ( | OptRefStorage< U > && | src | ) |
| OptRefStorage& operator= | ( | const U & | refValue | ) |
| T& GetValueRef | ( | ) |
| const T& GetValueRef | ( | ) | const |
| Bool HasValue | ( | ) | const |
|
private |