libsemigroups
Public Member Functions | List of all members
libsemigroups::Element::Hash Struct Reference

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...
 

Detailed Description

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.

Member Function Documentation

◆ operator()()

size_t libsemigroups::Element::Hash::operator() ( Element const *  x) const
inline

Returns the value of Element::hash_value applied to the Element pointed to by x.


The documentation for this struct was generated from the following file: