carb::cpp17::is_nothrow_convertible

Defined in carb/cpp17/TypeTraits.h

Inheritance Relationships

Base Type

  • public bool_constant< detail::is_nothrow_convertible_impl< From, To >::value >

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 to To 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.