#include <expected.h>
|
constexpr | unexpected (const unexpected &)=default |
|
constexpr | unexpected (unexpected &&) noexcept=default |
|
template<class Err = E>
requires (!std::is_same_v<std::remove_cvref_t<Err>, unexpected> && !std::is_same_v<std::remove_cvref_t<Err>, std::in_place_t> && std::is_constructible_v<E, Err>) |
constexpr | unexpected (Err &&err) noexcept(std::is_nothrow_constructible_v< E, Err >) |
|
template<class... Args>
requires std::constructible_from<E, Args &&...> |
constexpr | unexpected (std::in_place_t, Args &&... args) noexcept(std::is_nothrow_constructible_v< E, Args... >) |
|
template<class U , class... Args>
requires (std::constructible_from<E, std::initializer_list<U>, Args &&...>) |
constexpr | unexpected (std::in_place_t, std::initializer_list< U > il, Args &&... args) noexcept(std::is_nothrow_constructible_v< E, std::initializer_list< U > &, Args... >) |
|
constexpr unexpected & | operator= (const unexpected &)=default |
|
constexpr unexpected & | operator= (unexpected &&) noexcept=default |
|
constexpr error_type & | error () &noexcept |
|
constexpr const error_type & | error () const &noexcept |
|
constexpr error_type && | error () &&noexcept |
|
constexpr const error_type && | error () const &&noexcept |
|
constexpr void | swap (unexpected &other) noexcept(std::is_nothrow_swappable_v< E >) |
|
◆ error_type
◆ unexpected() [1/5]
◆ unexpected() [2/5]
◆ unexpected() [3/5]
template<typename E >
template<class Err = E>
requires (!std::is_same_v<std::remove_cvref_t<Err>,
unexpected> && !std::is_same_v<std::remove_cvref_t<Err>, std::in_place_t> && std::is_constructible_v<E, Err>)
|
inlineexplicitconstexprnoexcept |
◆ unexpected() [4/5]
template<typename E >
template<class... Args>
requires std::constructible_from<E, Args &&...>
|
inlineexplicitconstexprnoexcept |
◆ unexpected() [5/5]
template<typename E >
template<class
U , class... Args>
requires (std::constructible_from<E, std::initializer_list<
U>, Args &&...>)
|
inlineexplicitconstexprnoexcept |
◆ error() [1/4]
◆ error() [2/4]
◆ error() [3/4]
◆ error() [4/4]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ swap()
◆ operator==
template<typename E >
template<class E2 >
◆ swap
◆ error_
The documentation for this class was generated from the following file:
- router/src/harness/include/mysql/harness/stdx/expected.h