util::Expected::has_value

Test whether a result value is held.

Synopsis

Declared in <util/expected.h>

constexpr
bool
has_value() const noexcept;

Return Value

true if a result value is stored, false if an error is stored.