Classes | Namespaces
expected.hpp File Reference

An implementation of the std::expected proposal. More...

#include <cras_cpp_common/external/tl/expected.hpp>
#include <type_traits>
Include dependency graph for expected.hpp:

Go to the source code of this file.

Classes

struct  cras::is_cras_expected< T >
 Type trait determining whether type T is cras::expected or not. More...
 
struct  cras::is_cras_expected<::cras::expected< T, E > >
 Type trait determining whether type T is cras::optional or not. More...
 

Namespaces

 cras
 

Detailed Description

An implementation of the std::expected proposal.

std::expected should be used in functions that can either succeed and return a value, or fail and return an error.

Author
Martin Pecka

Definition in file expected.hpp.



cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sat Jun 17 2023 02:32:53