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

#include <optional.hh>

Collaboration diagram for opt_impl::storage_t< T >:
Collaboration graph
[legend]

Public Member Functions

constexpr storage_t (trivial_init_t) noexcept
 
template<typename... Args>
constexpr storage_t (Args &&... args)
 
 ~storage_t ()
 

Public Attributes

unsigned char dummy_
 
value_
 

Detailed Description

template<typename T>
union opt_impl::storage_t< T >

Definition at line 118 of file optional.hh.

Constructor & Destructor Documentation

◆ storage_t() [1/2]

template<typename T>
constexpr opt_impl::storage_t< T >::storage_t ( trivial_init_t  )
inlinenoexcept

Definition at line 122 of file optional.hh.

◆ storage_t() [2/2]

template<typename T>
template<typename... Args>
constexpr opt_impl::storage_t< T >::storage_t ( Args &&...  args)
inline

Definition at line 125 of file optional.hh.

◆ ~storage_t()

template<typename T>
opt_impl::storage_t< T >::~storage_t ( )
inline

Definition at line 130 of file optional.hh.

Member Data Documentation

◆ dummy_

template<typename T>
unsigned char opt_impl::storage_t< T >::dummy_

Definition at line 119 of file optional.hh.

◆ value_

template<typename T>
T opt_impl::storage_t< T >::value_

Definition at line 120 of file optional.hh.

Referenced by opt_impl::optional_base< T >::~optional_base().


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