An implementation of the std::expected
proposal.
More...
#include <cras_cpp_common/external/tl/expected.hpp>
#include <type_traits>
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 | |
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.
Definition in file expected.hpp.