|
ThreadSchedule 4.1.0
Modern C++ thread management library
|
#include <expected.hpp>
Public Types | |
| using | value_type |
| using | error_type |
| using | unexpected_type |
| using | rebind |
| Public Types inherited from threadschedule::detail::expected_void< const void, E > | |
| using | value_type |
| using | error_type |
| using | unexpected_type |
| using | rebind |
Public Member Functions | |
| constexpr auto | operator= (unexpected< G > const &error) -> derived_type & |
| constexpr auto | operator= (unexpected< G > &&error) -> derived_type & |
| ~expected ()=default | |
| constexpr auto | has_value () const noexcept -> bool |
| constexpr auto | has_error () const noexcept -> bool |
| constexpr | operator bool () const noexcept |
| constexpr auto | operator-> () noexcept THREADSCHEDULE_LIFETIMEBOUND -> const void * |
| constexpr auto | operator* () &noexcept THREADSCHEDULE_LIFETIMEBOUND -> const void & |
| constexpr auto | value () &THREADSCHEDULE_LIFETIMEBOUND -> const void & |
| constexpr auto | error () &noexcept THREADSCHEDULE_LIFETIMEBOUND -> E & |
| constexpr auto | value_or (U &&fallback) const &-> const void |
| constexpr auto | error_or (G &&fallback) const &-> E |
| constexpr auto | emplace (Args &&... args) noexcept -> const void & |
| constexpr void | swap (expected &other) noexcept(std::is_nothrow_move_constructible_v< const void > &&std::is_nothrow_move_constructible_v< E > &&std::is_nothrow_swappable_v< const void > &&std::is_nothrow_swappable_v< E >) |
| constexpr auto | and_then (F &&f) & |
| constexpr auto | or_else (F &&f) & |
| constexpr auto | transform (F &&f) & |
| constexpr auto | transform_error (F &&f) & |
| Public Member Functions inherited from threadschedule::detail::expected_void< const void, E > | |
| constexpr | expected_void () noexcept=default |
| constexpr | expected_void (std::in_place_t) noexcept |
| constexpr | expected_void (expected< U, G > const &source) |
| constexpr | expected_void (expected< U, G > const &source) |
| constexpr | expected_void (expected< U, G > &&source) |
| constexpr | expected_void (expected< U, G > &&source) |
| constexpr | expected_void (unexpect_t, Args &&... args) |
| constexpr | expected_void (unexpected< G > const &source) |
| constexpr | expected_void (unexpected< G > const &source) |
| constexpr | expected_void (unexpected< G > &&source) |
| constexpr | expected_void (unexpected< G > &&source) |
| constexpr | expected_void (unexpect_t, std::initializer_list< U > list, Args &&... args) |
| constexpr auto | operator= (unexpected< G > const &error) -> derived_type & |
| constexpr auto | operator= (unexpected< G > &&error) -> derived_type & |
| constexpr auto | has_value () const noexcept -> bool |
| constexpr auto | has_error () const noexcept -> bool |
| constexpr | operator bool () const noexcept |
| constexpr void | operator* () const noexcept |
| constexpr void | value () const & |
| constexpr void | value () && |
| constexpr auto | error () &noexcept THREADSCHEDULE_LIFETIMEBOUND -> E & |
| 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_or (G &&fallback) const &-> E |
| constexpr auto | error_or (G &&fallback) &&-> E |
| constexpr void | emplace () noexcept |
| constexpr void | swap (derived_type &other) noexcept(std::is_nothrow_move_constructible_v< E > &&std::is_nothrow_swappable_v< E >) |
| constexpr auto | and_then (F &&f) & |
| constexpr auto | and_then (F &&f) const & |
| constexpr auto | and_then (F &&f) && |
| constexpr auto | and_then (F &&f) const && |
| constexpr auto | or_else (F &&f) & |
| constexpr auto | or_else (F &&f) const & |
| constexpr auto | or_else (F &&f) && |
| constexpr auto | or_else (F &&f) const && |
| constexpr auto | transform (F &&f) & |
| constexpr auto | transform (F &&f) const & |
| constexpr auto | transform (F &&f) && |
| constexpr auto | transform (F &&f) const && |
| constexpr auto | transform_error (F &&f) & |
| constexpr auto | transform_error (F &&f) const & |
| constexpr auto | transform_error (F &&f) && |
| constexpr auto | transform_error (F &&f) const && |
Friends | |
| class | expected |
| class | detail::expected_void |
| constexpr auto | operator== (expected const &lhs, expected< T2, E2 > const &rhs) -> bool |
| constexpr auto | operator!= (expected const &lhs, expected< T2, E2 > const &rhs) -> bool |
Definition at line 1767 of file expected.hpp.
| using threadschedule::expected< const void, E >::error_type |
Definition at line 790 of file expected.hpp.
| using threadschedule::expected< const void, E >::rebind |
Definition at line 793 of file expected.hpp.
| using threadschedule::expected< const void, E >::unexpected_type |
Definition at line 791 of file expected.hpp.
| using threadschedule::expected< const void, E >::value_type |
Definition at line 789 of file expected.hpp.
|
default |
|
inlineconstexpr |
Definition at line 1081 of file expected.hpp.
|
inlineconstexprnoexcept |
Definition at line 1060 of file expected.hpp.
|
inlineconstexprnoexcept |
Definition at line 1006 of file expected.hpp.
|
inlineconstexpr |
Definition at line 1042 of file expected.hpp.
|
inlinenodiscardconstexprnoexcept |
Definition at line 933 of file expected.hpp.
|
inlinenodiscardconstexprnoexcept |
Definition at line 928 of file expected.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 938 of file expected.hpp.
|
inlineconstexprnoexcept |
Definition at line 953 of file expected.hpp.
|
inlineconstexprnoexcept |
Definition at line 943 of file expected.hpp.
|
inlineconstexpr |
Definition at line 1402 of file expected.hpp.
|
inlineconstexpr |
Definition at line 1395 of file expected.hpp.
|
inlineconstexpr |
Definition at line 1105 of file expected.hpp.
|
inlineconstexprnoexcept |
Definition at line 1073 of file expected.hpp.
|
inlineconstexpr |
Definition at line 1129 of file expected.hpp.
|
inlineconstexpr |
Definition at line 1153 of file expected.hpp.
|
inlineconstexpr |
Definition at line 974 of file expected.hpp.
|
inlineconstexpr |
Definition at line 1028 of file expected.hpp.
|
friend |
Definition at line 1250 of file expected.hpp.
|
friend |
Definition at line 1248 of file expected.hpp.
|
friend |
Definition at line 1215 of file expected.hpp.
|
friend |
Definition at line 1202 of file expected.hpp.