Ada 2.9.2
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
tl::detail::expected_storage_base< void, E, false, true >::dummy Struct Reference

#include <ada.h>

Public Member Functions

constexpr expected_storage_base ()
 
constexpr expected_storage_base (no_init_t)
 
constexpr expected_storage_base (in_place_t, Args &&...args)
 
constexpr expected_storage_base (in_place_t, std::initializer_list< U > il, Args &&...args)
 
constexpr expected_storage_base (unexpect_t, Args &&...args)
 
constexpr expected_storage_base (unexpect_t, std::initializer_list< U > il, Args &&...args)
 
 ~expected_storage_base ()
 

Public Attributes

void m_val
 
unexpected< E > m_unexpect
 
char m_no_init
 
union { 
 
   T   m_val 
 
   unexpected< E >   m_unexpect 
 
   char   m_no_init 
 
};  
 
bool m_has_val
 

Detailed Description

template<class E>
struct tl::detail::expected_storage_base< void, E, false, true >::dummy

Definition at line 2553 of file ada.h.

Constructor & Destructor Documentation

◆ ~expected_storage_base()

tl::detail::expected_storage_base< void, E, bool, bool >::~expected_storage_base ( )
inline

Definition at line 2375 of file ada.h.

Member Function Documentation

◆ expected_storage_base() [1/6]

tl::detail::expected_storage_base< void, E, bool, bool >::expected_storage_base ( )
inlineconstexpr

Definition at line 2346 of file ada.h.

◆ expected_storage_base() [2/6]

tl::detail::expected_storage_base< void, E, bool, bool >::expected_storage_base ( in_place_t ,
Args &&... args )
inlineconstexpr

Definition at line 2352 of file ada.h.

◆ expected_storage_base() [3/6]

tl::detail::expected_storage_base< void, E, bool, bool >::expected_storage_base ( in_place_t ,
std::initializer_list< U > il,
Args &&... args )
inlineconstexpr

Definition at line 2358 of file ada.h.

◆ expected_storage_base() [4/6]

tl::detail::expected_storage_base< void, E, bool, bool >::expected_storage_base ( no_init_t )
inlineconstexpr

Definition at line 2347 of file ada.h.

◆ expected_storage_base() [5/6]

tl::detail::expected_storage_base< void, E, bool, bool >::expected_storage_base ( unexpect_t ,
Args &&... args )
inlineexplicitconstexpr

Definition at line 2364 of file ada.h.

◆ expected_storage_base() [6/6]

tl::detail::expected_storage_base< void, E, bool, bool >::expected_storage_base ( unexpect_t ,
std::initializer_list< U > il,
Args &&... args )
inlineexplicitconstexpr

Definition at line 2370 of file ada.h.

Member Data Documentation

◆ [union]

union { ... } tl::detail::expected_storage_base< void, E, bool, bool >

◆ m_has_val

bool tl::detail::expected_storage_base< void, E, bool, bool >::m_has_val

Definition at line 2387 of file ada.h.

◆ m_no_init

char tl::detail::expected_storage_base< void, E, bool, bool >::m_no_init

Definition at line 2385 of file ada.h.

◆ m_unexpect

unexpected<E> tl::detail::expected_storage_base< void, E, bool, bool >::m_unexpect

Definition at line 2384 of file ada.h.

◆ m_val

void tl::detail::expected_storage_base< void, E, bool, bool >::m_val

Definition at line 2383 of file ada.h.


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