|
|
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) |
| |
|
|
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:
- ImFusion/Core/Utils/Expected.h