Access the result value, throwing if an error is held.

Synopsis

Declared in <util/expected.h>

constexpr
T const&
value() const &;

Return Value

A const reference to the stored result value.

Created with MrDocs