shortlex_compare (references)¶
-
template<typename
T>
boollibsemigroups::shortlex_compare(T const &x, T const &y)¶ Compare two objects of the same type using shortlex_compare.
Defined in
order.hpp.- Possible Implementation
shortlex_compare( x.cbegin(), x.cend(), y.cbegin(), y.cend());
- Return
A
bool.- See
- Template Parameters
T: the type of the objects to be compared.
- Parameters
x: const reference to the first object for comparisony: const reference to the second object for comparison