Template Function TRAP::MakeUnexpected#
Function Documentation#
-
template<typename E>
constexpr Unexpected<typename std::decay_t<E>> TRAP::MakeUnexpected(E &&e)# Create an Unexpected from e, deducing the return type.
- Parameters:
e – Value for the Unexpected.
- Returns:
Unexpected with deduced type.