std::convertible_to
Min standard notice:
Header: <concepts>
The concept convertible_to<From, To> specifies that an expression of the same type and value category as those of std::declval
# Declarations
template< class From, class To >
concept convertible_to =
std::is_convertible_v<From, To> &&
requires {
static_cast<To>(std::declval<From>());
};
(since C++20)