Defined in order.hpp.
A stateless struct with binary call operator using shortlex_compare.
This only exists to be used as a template parameter, and has no advantages over using shortlex_compare otherwise.
Public Member Functions | |
| template<typename Thing> | |
| bool | operator() (Thing const &x, Thing const &y) const |
Call operator that compares x and y using shortlex_compare. | |
|
inlinenodiscard |
Call operator that compares x and y using shortlex_compare.
| Thing | the type of the objects to be compared. |
| x | const reference to the first object for comparison. |
| y | const reference to the second object for comparison. |
true if x is short-lex less than y, and false otherwise.