Template Function holoscan::make_unexpected
Defined in File expected.hpp
-
template<class E>
static inline constexpr unexpected<E> holoscan::make_unexpected(E &&e) Construct a new unexpected object.
- Template Parameters
- Parameters
- Returns
E – The type of the error class
e – The object of the error class
The unexpected object