|
explicit constexpr | result (Value &&value) noexcept |
|
explicit constexpr | result (Error &&err) noexcept |
|
constexpr | result (const result< Value, Error > &)=default noexcept |
|
constexpr result< Value, Error > & | operator= (const result< Value, Error > &)=default & noexcept |
|
constexpr | result (result< Value, Error > &&)=default noexcept |
|
constexpr result< Value, Error > & | operator= (result< Value, Error > &&)=default & noexcept |
|
constexpr const Value & | value () const & noexcept |
|
constexpr const Value & | value () & noexcept |
|
constexpr Value && | value () && noexcept |
|
constexpr const Error & | err () const & noexcept |
|
constexpr const Error & | err () & noexcept |
|
constexpr Error && | err () && noexcept |
|
constexpr bool | is_error () const noexcept |
|
constexpr bool | is_ok () const noexcept |
|
|
using | error_t = error< Error > |
|
|
const std::variant< Value, error_t > | m_content |
|
template<typename Value, typename Error>
class util::result< Value, Error >
Definition at line 74 of file result.h.