xentara-utils v1.2.1
Xentara utilities library
Loading...
Searching...
No Matches
xentara::utils::tools::StdHashable Concept Reference

This concept checks whether a class has a proper specialization for std::hash. More...

#include <tools/Hash.hpp>

Concept definition

template<typename Type>
concept xentara::utils::tools::StdHashable = requires(const Type& value, const std::hash<Type>& hash) { { hash(value) } -> std::same_as<std::size_t>; }
This concept checks whether a class has a proper specialization for std::hash.
Definition Hash.hpp:19
T make_unique(T... args)

Detailed Description

This concept checks whether a class has a proper specialization for std::hash.