mrdocs::Expected::error
Access the stored error; precondition: !has_value().
Synopses
Declared in <mrdocs/Support/Expected.hpp>
Access the stored error; precondition: !has_value().
constexpr
E const&
error() const & noexcept;
Access the stored error; precondition: !has_value().
constexpr
E&
error() & noexcept;
Access the stored error; precondition: !has_value().
constexpr
E const&&
error() const && noexcept;
Access the stored error; precondition: !has_value().
constexpr
E&&
error() && noexcept;
Return Value
-
Reference to the contained error.
-
Rvalue reference to the contained error.
Created with MrDocs