File expected.hpp

Parent directory (include/cras_cpp_common)

An implementation of the std::expected proposal.

Definition (include/cras_cpp_common/expected.hpp)

Detailed Description

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

Includes

  • tl/expected.hpp

  • type_traits

Included By

Namespaces

Classes