ImFusion SDK 4.3
expected_storage_base< T, E, bool, bool > Struct Template Reference
+ Inheritance diagram for expected_storage_base< T, E, bool, bool >:

Public Member Functions

constexpr expected_storage_base (no_init_t)
 
template<class... Args, detail::enable_if_t< std::is_constructible< T, Args &&... >::value > * = nullptr>
constexpr expected_storage_base (in_place_t, Args &&... args)
 
template<class U, class... Args, detail::enable_if_t< std::is_constructible< T, std::initializer_list< U > &, Args &&... >::value > * = nullptr>
constexpr expected_storage_base (in_place_t, std::initializer_list< U > il, Args &&... args)
 
template<class... Args, detail::enable_if_t< std::is_constructible< E, Args &&... >::value > * = nullptr>
constexpr expected_storage_base (Unexpect_t, Args &&... args)
 
template<class U, class... Args, detail::enable_if_t< std::is_constructible< E, std::initializer_list< U > &, Args &&... >::value > * = nullptr>
constexpr expected_storage_base (Unexpect_t, std::initializer_list< U > il, Args &&... args)
 

Public Attributes

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

The documentation for this struct was generated from the following file:
Search Tab / S to search, Esc to close