Template Function holoscan::make_unexpected

Holoscan v0.6
template<class E>
static inline constexpr unexpected<E> holoscan::make_unexpected(E &&e)

Construct a new unexpected object.

Template Parameters

E – The type of the error class

Parameters

e – The object of the error class

Returns

The unexpected object

© Copyright 2022-2023, NVIDIA. Last updated on Feb 9, 2024.