util::Expected<void, E>::Expected

Construct from Unexpected

Synopsis

Declared in <util/expected.h>

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

Parameters

NameDescription
uThe object to construct from