MySQL 8.0.39
Source Code Documentation
|
#include <expected.h>
Public Types | |
using | value_type = void |
using | error_type = E |
using | unexpected_type = unexpected< E > |
Public Member Functions | |
constexpr | ExpectedImpl () noexcept |
template<class... Args, std::enable_if_t< std::is_constructible_v< E, Args &&... > > * = nullptr> | |
constexpr | ExpectedImpl (stdx::unexpect_t, Args &&... args) |
constexpr | ExpectedImpl (const ExpectedImpl &other) |
constexpr | ExpectedImpl (ExpectedImpl &&other) noexcept(std::is_nothrow_move_constructible< E >::value) |
ExpectedImpl & | operator= (ExpectedImpl const &other) |
ExpectedImpl & | operator= (ExpectedImpl &&other) |
constexpr | ExpectedImpl (const unexpected< E > &e) |
constexpr | ExpectedImpl (unexpected< E > &&e) |
~ExpectedImpl () | |
template<class G = E, std::enable_if_t< std::is_move_constructible< G >::value, void * > = nullptr> | |
void | swap (ExpectedImpl &other) noexcept(std::is_nothrow_move_constructible< G >::value) |
constexpr const error_type & | error () const & |
constexpr const error_type && | error () const && |
constexpr error_type & | error () & |
constexpr error_type && | error () && |
constexpr unexpected_type | get_unexpected () const |
Public Member Functions inherited from stdx::ExpectedImplBase | |
constexpr | ExpectedImplBase (bool has_value) noexcept |
constexpr bool | has_value () const |
constexpr | operator bool () const noexcept |
void | swap (ExpectedImplBase &other) noexcept |
Private Attributes | |
base::storage_t< void, E > | storage_ |
using stdx::ExpectedImpl< void, E >::error_type = E |
using stdx::ExpectedImpl< void, E >::unexpected_type = unexpected<E> |
using stdx::ExpectedImpl< void, E >::value_type = void |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inline |
|
inlinenoexcept |
|
private |