Constructors
Declared in <util/expected.h>
Construct holding a value-initialized result.
constexpr
Expected();
» more...
Construct holding a result value.
constexpr
Expected(T v);
» more...
Construct holding an error, from a util::Unexpected.
template<class Err>
constexpr
Expected(Unexpected<Err> u);
» more...
| Name | Description |
|---|---|
| v | The result value to store. |
| u | The unexpected error to store. |