siplasplas
Public Member Functions | List of all members
cpp::Optional< T > Class Template Reference

Public Member Functions

template<typename Arg , typename... Args>
 Optional (Arg &&arg, Args &&... args)
 
template<typename U >
 Optional (const Optional< U > &other)
 
template<typename U >
 Optional (Optional< U > &&other)
 
template<typename U >
Optionaloperator= (U &&value)
 
template<typename U >
Optionaloperator= (const Optional< U > &other)
 
template<typename U >
Optionaloperator= (Optional< U > &&other)
 
const T & get () const
 
T & get ()
 
const T * operator-> () const
 
T * operator-> ()
 
void clear ()
 
bool empty () const
 
 operator bool () const
 

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