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

Synopsis

Declared in <util/expected.h>

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

Parameters

Name

Description

u

The unexpected error to store.

Created with MrDocs