Concept to check if a type is a valid hash function for a given Key type.
More...
#include <template_hash_array.h>
template<typename T, typename Key, typename ComptimeData>
requires std::is_trivially_constructible_v<T>;
{ hash.template hash<ComptimeData {}>(key) } -> std::same_as<std::size_t>;
}
Concept to check if a type is a valid hash function for a given Key type.
Definition template_hash_array.h:23
Concept to check if a type is a valid hash function for a given Key type.
- Template Parameters
-
| T | The hash function type. |
| Key | The key type. |
| ComptimeData | The comptime data type. |