18 template<
class From,
class To>
22 std::enable_if_t<std::is_convertible_v<From, To>>,
23 decltype(static_cast<To>(std::declval<From>()))
25 >> : std::true_type {};
31 template<
class From,
class To>
Definition is_convertible_to.hpp:32
Definition Partitioner.hpp:146
bool constexpr is_convertible_to_v
A C++17 type trait equivalent to the C++20 convertible_to concept.
Definition is_convertible_to.hpp:28
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
A C++17 type trait equivalent to the C++20 convertible_to concept.
Definition is_convertible_to.hpp:16