Test whether a result value is held.

Synopsis

Declared in <util/expected.h>

constexpr
explicit
operator bool() const noexcept;

Return Value

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

Created with MrDocs