wxMaxima
Loading...
Searching...
No Matches
Public Member Functions
STX_NAMESPACE_NAME::optional< T & > Class Template Reference

Public Member Functions

constexpr optional (nullopt_t) noexcept
 
constexpr optional (T &v) noexcept
 
 optional (T &&)=delete
 
constexpr optional (const optional &rhs) noexcept
 
constexpr optional (in_place_t, T &v) noexcept
 
 optional (in_place_t, T &&)=delete
 
optionaloperator= (nullopt_t) noexcept
 
optionaloperator= (const optional &rhs) noexcept=delete
 
optionaloperator= (optional &&rhs) noexcept=delete
 
template<typename U >
auto operator= (U &&rhs) noexcept -> typename std::enable_if< std::is_same< typename std::decay< U >::type, optional< T & > >::value, optional & >::type
 
template<typename U >
auto operator= (U &&rhs) noexcept -> typename std::enable_if< !std::is_same< typename std::decay< U >::type, optional< T & > >::value, optional & >::type=delete
 
void emplace (T &v) noexcept
 
void emplace (T &&)=delete
 
void swap (optional< T & > &rhs) noexcept
 
constexpr T * operator-> () const
 
constexpr T & operator* () const
 
constexpr T & value () const
 
constexpr operator bool () const noexcept
 
constexpr bool has_value () const noexcept
 
template<class V >
constexpr std::decay< T >::type value_or (V &&v) const
 
void reset () noexcept
 

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