sandbox
Loading...
Searching...
No Matches
sbx::utility::hashable Concept Reference

A concept that represents a type that can be hashed. More...

#include <hash.hpp>

Concept definition

template<typename Type>
concept sbx::utility::hashable = requires(const Type& instance) {
{ std::hash<Type>{}(instance) } -> std::same_as<std::size_t>;
}
A concept that represents a type that can be hashed.
Definition: hash.hpp:50

Detailed Description

A concept that represents a type that can be hashed.