xentara-utils v2.0.4
The Xentara Utility 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 <xentara/utils/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.