util::Unexpected::Unexpected

Construct from an error value.

Synopsis

Declared in <util/expected.h>

constexpr
explicit
Unexpected(E e);

Parameters

NameDescription
eThe error value to store.