gw  1.0.0
A bunch of small C++ utilities
Loading...
Searching...
No Matches
gw::hashable Concept Reference

Concept for hashable types. More...

#include <concepts.hpp>

Concept definition

template<typename T>
concept gw::hashable = requires(T value) {
{ std::hash<T>{}(value) } -> std::same_as<std::size_t>;
}
Concept for hashable types.
Definition concepts.hpp:40

Detailed Description

Concept for hashable types.