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

Provides a call operator for comparing Elements via pointers. More...

#include <elements.h>

Public Member Functions

bool operator() (Element const *x, Element const *y) const
 Returns true if x and y point to equal Element's. More...
 

Detailed Description

Provides a call operator for comparing Elements via pointers.

This struct provides a call operator for comparing const Element pointers (by comparing the Element objects they point to). This is used by various methods of the Semigroup class.

Member Function Documentation

◆ operator()()

bool libsemigroups::Element::Equal::operator() ( Element const *  x,
Element const *  y 
) const
inline

Returns true if x and y point to equal Element's.


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