|
|
constexpr E & | geterr () &noexcept |
| |
|
constexpr const E & | geterr () const &noexcept |
| |
|
constexpr E && | geterr () &&noexcept(std::is_nothrow_move_constructible_v< E >) |
| |
|
constexpr const E && | geterr () const &&noexcept(std::is_nothrow_move_constructible_v< E >) |
| |
|
| storage_base (storage_base const &)=default |
| |
|
| storage_base (storage_base &&)=default |
| |
|
constexpr | storage_base (construct_from_expected_t, Rhs &&rhs) noexcept(std::is_nothrow_constructible_v< void, decltype(expected_detail::expected_source_value(std::declval< Rhs >()))> &&std::is_nothrow_constructible_v< E, decltype(expected_detail::expected_source_error(std::declval< Rhs >()))>) |
| |
|
constexpr | storage_base (std::in_place_t, Args &&... args) noexcept(noexcept(void(std::forward< Args >(args)...))) |
| |
|
constexpr | storage_base (std::in_place_t, std::initializer_list< U > il, Args &&... args) noexcept(noexcept(void(il, std::forward< Args >(args)...))) |
| |
|
constexpr | storage_base (unexpect_t, Args &&... args) noexcept(noexcept(E(std::forward< Args >(args)...))) |
| |
|
constexpr | storage_base (unexpect_t, std::initializer_list< U > il, Args &&... args) noexcept(noexcept(E(il, std::forward< Args >(args)...))) |
| |
|
constexpr | storage_base (construct_with_invoke_result_t, Fn &&func, Args &&... args) noexcept(noexcept(static_cast< void >(std::invoke(std::forward< Fn >(func), std::forward< Args >(args)...)))) |
| |
|
constexpr | storage_base (construct_with_invoke_result_t, unexpect_t, Fn &&func, Args &&... args) noexcept(noexcept(static_cast< E >(std::invoke(std::forward< Fn >(func), std::forward< Args >(args)...)))) |
| |
|
storage_base & | operator= (storage_base const &)=default |
| |
|
storage_base & | operator= (storage_base &&)=default |
| |
|
|
void | m_val |
| |
|
E | m_unexpect |
| |
|
char | m_dummy |
| |
|
union { | |
| |
|
T m_val | |
| |
|
E m_unexpect | |
| |
|
char m_dummy | |
| |
| }; | | |
| |
|
bool | m_has_val |
| |
The documentation for this struct was generated from the following file: