|
template<typename... Args> |
T & | emplace (Args &&... args) noexcept(std::is_nothrow_constructible< T, Args... >::value) |
|
template<typename E , typename... Args> |
T & | emplace (std::initializer_list< E > il, Args &&... args) noexcept(std::is_nothrow_constructible< T, std::initializer_list< E > &, Args... >::value) |
|
template<typename U > |
| explicit (!convertible_to< U const &, T >) optional(optional< U > const &that) |
|
template<typename U = T> |
constexpr | explicit (!convertible_to< U, T >) optional(U &&v) |
|
constexpr | operator bool () const noexcept |
|
constexpr optional & | operator= (nullopt_t) noexcept |
|
optional & | operator= (optional &&)=default |
|
optional & | operator= (optional const &)=default |
|
template<typename U > |
constexpr optional & | operator= (optional< U > &&that) |
|
template<typename U > |
constexpr optional & | operator= (optional< U > const &that) |
|
template<typename U = T> |
constexpr optional & | operator= (U &&u) noexcept(std::is_nothrow_constructible< T, U >::value &&std::is_nothrow_assignable< T &, U >::value) |
|
template<typename E , typename... Args> |
constexpr | optional (in_place_t, std::initializer_list< E > il, Args &&... args) noexcept(std::is_nothrow_constructible< T, std::initializer_list< E > &, Args... >::value) |
|
constexpr | optional (nullopt_t) noexcept |
|
| optional (optional &&)=default |
|
| optional (optional const &)=default |
|
template<typename U > |
| optional (optional< U > &&that) |
|
template<typename U > |
| optional (optional< U > &&that) |
|
constexpr T & | value () & |
|
constexpr T && | value () && |
|
constexpr T const & | value () const & |
|
constexpr T const && | value () const && |
|
template<typename U > |
constexpr T | value_or (U &&u) && |
|
template<typename U > |
constexpr T | value_or (U &&u) const & |
|