|
ThreadSchedule 4.1.0
Modern C++ thread management library
|
#include <expected.hpp>
Public Member Functions | |
| unexpected (unexpected const &)=default | |
| unexpected (unexpected &&)=default | |
| auto | operator= (unexpected const &) -> unexpected &=default |
| auto | operator= (unexpected &&) -> unexpected &=default |
| template<typename G = E, std::enable_if_t<!std::is_same_v< detail::expected_remove_cvref_t< G >, unexpected > &&!std::is_same_v< detail::expected_remove_cvref_t< G >, std::in_place_t > &&std::is_constructible_v< E, G >, int > = 0> | |
| constexpr | unexpected (G &&error) |
| template<typename... Args, std::enable_if_t< std::is_constructible_v< E, Args... >, int > = 0> | |
| constexpr | unexpected (std::in_place_t, Args &&... args) |
| template<typename U, typename... Args, std::enable_if_t< std::is_constructible_v< E, std::initializer_list< U > &, Args... >, int > = 0> | |
| constexpr | unexpected (std::in_place_t, std::initializer_list< U > list, Args &&... args) |
| constexpr auto | error () const &noexcept THREADSCHEDULE_LIFETIMEBOUND -> E const & |
| constexpr auto | error () &noexcept THREADSCHEDULE_LIFETIMEBOUND -> E & |
| constexpr auto | error () const &&noexcept THREADSCHEDULE_LIFETIMEBOUND -> E const && |
| constexpr auto | error () &&noexcept THREADSCHEDULE_LIFETIMEBOUND -> E && |
| constexpr void | swap (unexpected &other) noexcept(std::is_nothrow_swappable_v< E >) |
Friends | |
| template<typename G = E, std::enable_if_t< std::is_swappable_v< E >, G > * = nullptr> | |
| constexpr void | swap (unexpected &lhs, unexpected &rhs) noexcept(noexcept(lhs.swap(rhs))) |
| template<typename G> | |
| constexpr auto | operator== (unexpected const &lhs, unexpected< G > const &rhs) -> bool |
| template<typename G> | |
| constexpr auto | operator!= (unexpected const &lhs, unexpected< G > const &rhs) -> bool |
Definition at line 135 of file expected.hpp.
|
default |
References unexpected().
Referenced by operator!=, operator=(), operator=(), operator==, swap, swap(), unexpected(), and unexpected().
|
default |
References unexpected().
|
inlineexplicitconstexpr |
Definition at line 149 of file expected.hpp.
References error().
|
inlineexplicitconstexpr |
Definition at line 153 of file expected.hpp.
|
inlineexplicitconstexpr |
Definition at line 158 of file expected.hpp.
|
inlineconstexprnoexcept |
Definition at line 178 of file expected.hpp.
References THREADSCHEDULE_LIFETIMEBOUND.
|
inlineconstexprnoexcept |
Definition at line 168 of file expected.hpp.
References THREADSCHEDULE_LIFETIMEBOUND.
|
inlinenodiscardconstexprnoexcept |
Definition at line 173 of file expected.hpp.
References THREADSCHEDULE_LIFETIMEBOUND.
|
inlinenodiscardconstexprnoexcept |
Definition at line 163 of file expected.hpp.
References THREADSCHEDULE_LIFETIMEBOUND.
Referenced by unexpected().
|
default |
References unexpected().
|
default |
References unexpected().
|
inlineconstexprnoexcept |
Definition at line 184 of file expected.hpp.
References swap(), and unexpected().
Referenced by swap().
|
friend |
Definition at line 206 of file expected.hpp.
References unexpected().
|
friend |
Definition at line 200 of file expected.hpp.
References unexpected().
|
friend |
Definition at line 193 of file expected.hpp.
References unexpected().