util::Expected::Expected

Construct holding an error, from a util::Unexpected.

Synopsis

Declared in <util/expected.h>

template<class Err>
constexpr
Expected(Unexpected<Err> u);

Parameters

NameDescription
uThe unexpected error to store.