Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::optional< T > Class Template Reference

Public Member Functions

template<typename U >
 optional (optional< U > &&other)
 
 optional (const T &value)
 
 optional (T &&value)
 
 optional (const optional< T > &rhs)
 
optionaloperator= (const optional &other)
 
 operator bool () const
 
bool has_value () const
 
const T & value () const
 
T & value ()
 
value_or (T &&def) const
 
value_or (T &&def)
 
const T * operator-> () const
 
T * operator-> ()
 
const T & operator* () const
 
T & operator* ()
 

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