libstdc++
|
Public Member Functions | |
constexpr | _Optional_base (nullopt_t) noexcept |
template<typename... _Args> | |
constexpr | _Optional_base (in_place_t, _Args &&...__args) |
template<typename _Up , typename... _Args, enable_if_t< is_constructible< _Tp, initializer_list< _Up > &, _Args &&...>::value, int > ...> | |
constexpr | _Optional_base (in_place_t, initializer_list< _Up > __il, _Args &&...__args) |
_Optional_base (const _Optional_base &__other) | |
_Optional_base & | operator= (const _Optional_base &__other) |
_Optional_base & | operator= (_Optional_base &&__other) noexcept(__and_< is_nothrow_move_constructible< _Tp >, is_nothrow_move_assignable< _Tp >>()) |
Protected Member Functions | |
void | _M_destruct () |
_Tp & | _M_get () noexcept |
constexpr const _Tp & | _M_get () const noexcept |
constexpr bool | _M_is_engaged () const noexcept |
void | _M_reset () |
Protected Attributes | |
this | _M_engaged |
template<typename... _Args> | |
void | |
Partial specialization that is exactly identical to the primary template save for not providing a destructor, to fulfill triviality requirements.