5#include <Infinity/api.h>
6#include <tl/expected.hpp>
98 template<
class T,
class E>
135 return tl::make_unexpected<E>(std::forward<E>(e));
Definition Expected.hpp:9
tl::unexpected< E > Unexpected
Represents an error value for Expected<T, E>.
Definition Expected.hpp:111
tl::expected< T, E > Expected
Type-safe error handling using the expected/unexpected pattern.
Definition Expected.hpp:99
auto make_unexpected(E &&e) -> Unexpected< typename std::decay< E >::type >
Constructs an Unexpected error value.
Definition Expected.hpp:133