![]() |
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 bool operator()(Value const&, Value const&)
(possibly noexcept
, inline
and/or constexpr
also) 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 | |
bool | operator() (Value const &x, Value const &y) const |
Compare x and y with std::equal_to. | |
|
inline |
This call operator compares x
and y
using std::equal_to with template parameter Value
.
x | const reference to Value to compare with y . |
y | const reference to Value to compare with x . |
bool
.