|
|
| unexpected (const unexpected &)=default |
| |
|
| unexpected (unexpected &&)=default |
| |
|
template<class... Args, typename std::enable_if_t< std::is_constructible_v< E, Args... > > * = nullptr> |
| constexpr | unexpected (std::in_place_t, Args &&... args) noexcept(std::is_nothrow_constructible_v< E, Args... >) |
| |
|
template<class U , class... Args, typename std::enable_if_t< std::is_constructible_v< E, std::initializer_list< U > &, Args... > > * = nullptr> |
| constexpr | unexpected (std::in_place_t, std::initializer_list< U > l, Args &&... args) noexcept(std::is_nothrow_constructible_v< E, std::initializer_list< U > &, Args... >) |
| |
|
template<class Err = E, typename std::enable_if_t< std::is_constructible_v< E, Err > > * = nullptr> |
| constexpr | unexpected (Err &&e) noexcept(std::is_nothrow_constructible_v< E, Err >) |
| |
|
unexpected & | operator= (const unexpected &)=default |
| |
|
unexpected & | operator= (unexpected &&)=default |
| |
|
constexpr const E & | error () const &noexcept |
| |
|
constexpr E & | error () &noexcept |
| |
|
constexpr E && | error () &&noexcept |
| |
|
constexpr const E && | error () const &&noexcept |
| |
|
constexpr void | swap (unexpected &other) noexcept(std::is_nothrow_swappable_v< E >) |
| |
|
|
constexpr void | swap (unexpected &x, unexpected &y) noexcept(noexcept(x.swap(y))) |
| |
|
template<class E2 > |
| constexpr bool | operator== (const unexpected &lhs, const unexpected< E2 > &rhs) noexcept(noexcept(lhs.error()==rhs.error())) |
| |
|
template<class E2 > |
| constexpr bool | operator!= (const unexpected &lhs, const unexpected< E2 > &rhs) noexcept(noexcept(lhs.error() !=rhs.error())) |
| |
The documentation for this class was generated from the following file: