carb::cpp::is_nothrow_convertible
Defined in carb/cpp/TypeTraits.h
-
template<typename From, typename To>
struct is_nothrow_convertible : public bool_constant<detail::is_nothrow_convertible_impl<From, To>::value> Determine if
From
can be implicitly-converted toTo
without throwing an exception.This is equivalent to the C++20
std::is_nothrow_convertible
meta query. While added in C++20, it is required for the C++17 is_nothrow_invocable_r meta query.