openMSX
|
#include <optional.hh>
Public Member Functions | |
constexpr | optional_base () noexcept |
constexpr | optional_base (const T &v) |
constexpr | optional_base (T &&v) |
template<typename... Args> | |
optional_base (in_place_t, Args &&... args) | |
template<typename U , typename... Args, std::enable_if_t< std::is_constructible< T, std::initializer_list< U >>::value > * = nullptr> | |
optional_base (in_place_t, std::initializer_list< U > il, Args &&... args) | |
~optional_base () | |
Public Attributes | |
bool | init_ |
storage_t< T > | storage_ |
Definition at line 148 of file optional.hh.
|
inlinenoexcept |
Definition at line 152 of file optional.hh.
|
inlineexplicit |
Definition at line 157 of file optional.hh.
|
inlineexplicit |
Definition at line 161 of file optional.hh.
|
inlineexplicit |
Definition at line 167 of file optional.hh.
|
inlineexplicit |
Definition at line 175 of file optional.hh.
|
inline |
Definition at line 181 of file optional.hh.
References opt_impl::storage_t< T >::value_.
bool opt_impl::optional_base< T >::init_ |
Definition at line 149 of file optional.hh.
storage_t<T> opt_impl::optional_base< T >::storage_ |
Definition at line 150 of file optional.hh.