CXXIter 0.2
Loading...
Searching...
No Matches
CXXIter::util::@33::is_hashable Concept Reference

Concept that checks whether the given type T has an implementation of std::hash<T>::operator() More...

Concept definition

template<typename T>
concept CXXIter::util::@33::is_hashable = requires(T a) {
{ std::hash<T>{}(a) } -> std::convertible_to<std::size_t>;
}
Concept that checks whether the given type T has an implementation of std::hash<T>::operator()
Definition: Constraints.h:29

Detailed Description

Concept that checks whether the given type T has an implementation of std::hash<T>::operator()

See also
https://en.cppreference.com/w/cpp/language/constraints

Definition at line 29 of file Constraints.h.