Returns a reference to the stored value.

Synopses

Declared in <beman/optional/optional.hpp>

Returns a reference to the stored value.

constexpr
T&
operator*() &;

Returns a reference to the stored value.

constexpr
T const&
operator*() const &;

Returns a reference to the stored value.

constexpr
T&&
operator*() &&;

Return Value

  • T&

  • const T&

  • T&&

Created with MrDocs