userver: userver/utils/expected.hpp File Reference
Loading...
Searching...
No Matches
expected.hpp File Reference

Detailed Description

For holding a value or an error.

Definition in file expected.hpp.

Go to the source code of this file.

#include <stdexcept>
#include <string>
#include <variant>
+ Include dependency graph for expected.hpp:
+ This graph shows which files directly or indirectly include this file:

Classes

class  utils::bad_expected_access
 
class  utils::unexpected< E >
 
class  utils::expected< S, E >
 For holding a value or an error. More...
 

Namespaces

namespace  utils
 Utilities.
 

Functions

template<class E >
 utils::unexpected (E) -> unexpected< E >