![]() |
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) which defines a linear order on the objects of type Value.
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 if x is less than y . | |
|
inline |
This call operator compares x
and y
using std::less with template parameter Value
.
x | const reference to Value to compare with y . |
y | const reference to Value to compare with x . |
bool
.