openMSX
Public Member Functions | Public Attributes | List of all members
opt_impl::constexpr_optional_base< T > Struct Template Reference

#include <optional.hh>

Public Member Functions

constexpr constexpr_optional_base () noexcept
 
constexpr constexpr_optional_base (const T &v)
 
constexpr constexpr_optional_base (T &&v)
 
template<typename... Args>
constexpr constexpr_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>
constexpr constexpr_optional_base (in_place_t, std::initializer_list< U > il, Args &&... args)
 
 ~constexpr_optional_base ()=default
 

Public Attributes

bool init_
 
constexpr_storage_t< T > storage_
 

Detailed Description

template<typename T>
struct opt_impl::constexpr_optional_base< T >

Definition at line 187 of file optional.hh.

Constructor & Destructor Documentation

◆ constexpr_optional_base() [1/5]

template<typename T >
constexpr opt_impl::constexpr_optional_base< T >::constexpr_optional_base ( )
inlinenoexcept

Definition at line 191 of file optional.hh.

◆ constexpr_optional_base() [2/5]

template<typename T >
constexpr opt_impl::constexpr_optional_base< T >::constexpr_optional_base ( const T &  v)
inlineexplicit

Definition at line 196 of file optional.hh.

◆ constexpr_optional_base() [3/5]

template<typename T >
constexpr opt_impl::constexpr_optional_base< T >::constexpr_optional_base ( T &&  v)
inlineexplicit

Definition at line 201 of file optional.hh.

◆ constexpr_optional_base() [4/5]

template<typename T >
template<typename... Args>
constexpr opt_impl::constexpr_optional_base< T >::constexpr_optional_base ( in_place_t  ,
Args &&...  args 
)
inlineexplicit

Definition at line 207 of file optional.hh.

◆ constexpr_optional_base() [5/5]

template<typename T >
template<typename U , typename... Args, std::enable_if_t< std::is_constructible< T, std::initializer_list< U >>::value > * = nullptr>
constexpr opt_impl::constexpr_optional_base< T >::constexpr_optional_base ( in_place_t  ,
std::initializer_list< U >  il,
Args &&...  args 
)
inlineexplicit

Definition at line 215 of file optional.hh.

◆ ~constexpr_optional_base()

template<typename T >
opt_impl::constexpr_optional_base< T >::~constexpr_optional_base ( )
default

Member Data Documentation

◆ init_

template<typename T >
bool opt_impl::constexpr_optional_base< T >::init_

Definition at line 188 of file optional.hh.

◆ storage_

template<typename T >
constexpr_storage_t<T> opt_impl::constexpr_optional_base< T >::storage_

Definition at line 189 of file optional.hh.


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