operator<

bool libsemigroups::BMat8::operator<(BMat8 const &that) const noexcept

Returns true if this is less than that.

This member function checks whether a BMat8 objects is less than another. We order by the results of to_int() for each matrix.

Exceptions

This function is noexcept and is guaranteed never to throw.

Complexity

Constant.

Parameters
  • that: the BMat8 for comparison.