General Utility Library for C++17 25.4.1
Classes
gul17/expected.h

Detailed Description

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

Classes

class  gul17::bad_expected_access< E >
 The exception thrown by gul17::expected if value() is called, but no value is present. More...
 
class  gul17::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  gul17::unexpected< E >
 Class template for constructing the unexpected value of an expected object. More...