| 1663 | } |
| 1664 | |
| 1665 | bool operator<(const sparsegroup& x) const |
| 1666 | { |
| 1667 | // also from <algorithm> |
| 1668 | return std::lexicographical_compare(_group, _group + _num_items(), |
| 1669 | x._group, x._group + x._num_items()); |
| 1670 | } |
| 1671 | |
| 1672 | bool operator!=(const sparsegroup& x) const { return !(*this == x); } |
| 1673 | bool operator<=(const sparsegroup& x) const { return !(x < *this); } |
nothing calls this directly
no test coverage detected