![]() |
Bitcoin Core 30.99.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 |
Private Attributes | |
| std::variant< std::monostate, E > | m_data |
Definition at line 102 of file expected.h.
|
inlineconstexpr |
Definition at line 108 of file expected.h.
|
inlineconstexpr |
Definition at line 110 of file expected.h.
|
inlineconstexprnoexcept |
Definition at line 127 of file expected.h.
|
inlineconstexprnoexcept |
Definition at line 126 of file expected.h.
|
inlineconstexprnoexcept |
Definition at line 125 of file expected.h.
|
inlineconstexprnoexcept |
Definition at line 114 of file expected.h.
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
private |
Definition at line 105 of file expected.h.