QuickCppLib 0.10
Eliminate all the tedious hassle when making state-of-the-art C++ 14 - 23 libraries!
Loading...
Searching...
No Matches
std::experimental::storage_t< T > Union Template Reference

#include "optional.hpp"

Public Member Functions

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

Public Attributes

unsigned char dummy_
 
value_
 

Constructor & Destructor Documentation

◆ storage_t() [1/2]

template<class T >
constexpr std::experimental::storage_t< T >::storage_t ( trivial_init_t  )
inlineconstexprnoexcept
285: dummy_() {};
unsigned char dummy_
Definition optional.hpp:282

◆ storage_t() [2/2]

template<class T >
template<class... Args>
constexpr std::experimental::storage_t< T >::storage_t ( Args &&...  args)
inlineconstexpr
288: value_(constexpr_forward<Args>(args)...) {}
T value_
Definition optional.hpp:283

◆ ~storage_t()

template<class T >
std::experimental::storage_t< T >::~storage_t ( )
inline
290{}

Member Data Documentation

◆ dummy_

template<class T >
unsigned char std::experimental::storage_t< T >::dummy_

◆ value_

template<class T >
T std::experimental::storage_t< T >::value_

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