convertible_to

template <typename T, typename U>
concept convertible_to;

Checks if a type is convertible to another type.

Parameters

Name Description
T The source type.
U The target type.