General Utility Library for C++14  2.10

Detailed Description

Backport of std::expected from C++23.


class  gul14::bad_expected_access< E >
 The exception thrown by gul14::expected if value() is called, but no value is present. More...
class  gul14::expected< T, E >
 An expected<T, E> is an object that normally contains an "expected" object of type T, but it can alternatively contain another, "unexpected" or "error" object of type E. More...
class  gul14::unexpected< E >
 Class template for constructing the unexpected value of an expected object. More...