19 template<
class T,
class =
void>
struct is_copyable : std::false_type {};
25 std::is_copy_constructible_v<T> &&
27 is_assignable_from_v<T&, T&> &&
28 is_assignable_from_v<T&, std::add_const_t<T>&> &&
29 is_assignable_from_v<T&, std::add_const_t<T>>
31 >> : std::true_type {};
Definition is_copyable.hpp:38
Definition Partitioner.hpp:146
bool constexpr is_copyable_v
A C++17 type trait equivalent to the C++20 copyable concept.
Definition is_copyable.hpp:34
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 copyable concept.
Definition is_copyable.hpp:19