Access the stored error (undefined behavior if a value is held).
Synopsis
Declared in <util/expected.h>
constexpr
E&
error() & noexcept;
Return Value
A reference to the stored error.
Created with MrDocs
Access the stored error (undefined behavior if a value is held).
Declared in <util/expected.h>
constexpr
E&
error() & noexcept;
A reference to the stored error.
Created with MrDocs