![]() |
MySQL 9.5.0
Source Code Documentation
|
#include <expected.h>
Public Types | |
| using | value_type = T |
| using | error_type = E |
| using | unexpected_type = unexpected< E > |
Public Member Functions | |
| constexpr | expected () noexcept |
| constexpr | expected (const expected &other)=default |
| constexpr | expected (const expected &other) |
| constexpr | expected (expected &&other)=default |
| constexpr | expected (expected &&other) noexcept((std::is_nothrow_move_constructible_v< T >)) |
| template<class U , class G , class UF = std::add_lvalue_reference_t<const U>, class GF = const G &> | |
| constexpr | explicit (constructor_is_explicit< UF, GF >) expected(const expected< U |
Public Attributes | |
| constexpr G & | rhs: dummy_() |
| constexpr G | has_value_ |
| union stdx::expected< T, E >:: { ... } | |
| bool | has_value_ |
| S | dummy_ |
| E | unex_ |
Static Public Attributes | |
| template<class UF , class GF > | |
| static constexpr bool | constructor_is_explicit |
| template<class U , class G , class UF , class GF > | |
| static constexpr bool | can_value_convert_construct |
| using stdx::expected< T, E >::error_type = E |
| using stdx::expected< T, E >::unexpected_type = unexpected<E> |
| using stdx::expected< T, E >::value_type = T |
|
inlineconstexprnoexcept |
|
constexprdefault |
|
inlineconstexpr |
|
constexprdefault |
|
inlineconstexprnoexcept |
|
constexpr |
| union stdx::expected< T, E > { ... } stdx::expected< T, E >::@33 |
|
staticconstexpr |
|
staticconstexpr |
| S stdx::expected< T, E >::dummy_ |
| constexpr G stdx::expected< T, E >::has_value_ |
| bool stdx::expected< T, E >::has_value_ |
| constexpr G& stdx::expected< T, E >::rhs |
| E stdx::expected< T, E >::unex_ |