libsemigroups
|
Provides a call operator returning a hash value for an Element via a pointer. More...
#include <elements.h>
Public Member Functions | |
size_t | operator() (Element const *x) const |
Returns the value of Element::hash_value applied to the Element pointed to by x . More... | |
Provides a call operator returning a hash value for an Element via a pointer.
This struct provides a call operator for obtaining a hash value for the Element from a const Element pointer. This is used by various methods of the Semigroup class.
|
inline |
Returns the value of Element::hash_value applied to the Element pointed to by x
.