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

Synopsis

Declared in <util/expected.h>

constexpr
T&
value() &;

Return Value

A reference to the stored result value.

Created with MrDocs