![]() |
Bitcoin Core 32.1.0
P2P Digital Currency
|
#include <expected.h>
Public Member Functions | |
| constexpr | Expected () |
| template<class Err> | |
| constexpr | Expected (Unexpected< Err > u) |
| constexpr bool | has_value () const noexcept |
| constexpr | operator bool () const noexcept |
| constexpr void | operator* () const noexcept |
| constexpr void | value () const |
| constexpr const E & | error () const &noexcept LIFETIMEBOUND |
| constexpr E & | error () &noexcept LIFETIMEBOUND |
| constexpr E && | error () &&noexcept LIFETIMEBOUND |
| void | value_or (U &&default_value) const & |
| constexpr void | swap (Expected &other) noexcept |
| constexpr void * | operator-> () noexcept LIFETIMEBOUND |
Private Attributes | |
| std::variant< std::monostate, E > | m_data |
Definition at line 101 of file expected.h.
|
inlineconstexpr |
Definition at line 107 of file expected.h.
|
inlineconstexpr |
|
inlineconstexprnoexcept |
Definition at line 126 of file expected.h.
|
inlineconstexprnoexcept |
Definition at line 125 of file expected.h.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 96 of file expected.h.
|
inlineconstexprnoexcept |
Definition at line 90 of file expected.h.
|
inlineconstexpr |
Definition at line 117 of file expected.h.
|
inline |
Definition at line 76 of file expected.h.
|
private |
Definition at line 104 of file expected.h.