util::Expected::operator*

Access the result value without checking.

Synopses

Declared in <util/expected.h>

Access the result value without checking.

constexpr
T&
operator*() & noexcept;
» more...

Access the result value without checking.

constexpr
T const&
operator*() const & noexcept;
» more...

Access the result value without checking.

constexpr
T&&
operator*() && noexcept;
» more...

Return Value

  • A reference to the stored result value.
  • A const reference to the stored result value.
  • An rvalue reference to the stored result value.