![]() |
libsemigroups
v3.0.0
C++ library for semigroups and monoids
|
Defined in adapters.hpp
.
This type should be a stateless trivially default constructible with a call operator of signature size_t operator()(Value const&)
for use with, for example, std::unordered_map.
Value | the type of objects to compare. |
The second template parameter exists for SFINAE.
Public Member Functions | |
size_t | operator() (Value const &x) const |
Hash x using std::hash. | |
|
inline |
This call operator hashes x
using std::hash with template parameter Value
.
x | the value to hash. |
x
, a value of type size_t
.