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

#include "optional.hpp"

Public Member Functions

constexpr constexpr_storage_t (trivial_init_t) noexcept
 
template<class... Args>
constexpr constexpr_storage_t (Args &&... args)
 
 ~constexpr_storage_t ()=default
 

Public Attributes

unsigned char dummy_
 
value_
 

Constructor & Destructor Documentation

◆ constexpr_storage_t() [1/2]

template<class T >
constexpr std::experimental::constexpr_storage_t< T >::constexpr_storage_t ( trivial_init_t  )
inlineconstexprnoexcept
300: dummy_() {};
unsigned char dummy_
Definition optional.hpp:297

◆ constexpr_storage_t() [2/2]

template<class T >
template<class... Args>
constexpr std::experimental::constexpr_storage_t< T >::constexpr_storage_t ( Args &&...  args)
inlineconstexpr
303: value_(constexpr_forward<Args>(args)...) {}
T value_
Definition optional.hpp:298

◆ ~constexpr_storage_t()

Member Data Documentation

◆ dummy_

◆ value_

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

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