MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / operator<

Method operator<

libCacheSim/dataStructure/sparsepp/spp.h:1665–1670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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); }

Callers

nothing calls this directly

Calls 1

_num_itemsMethod · 0.80

Tested by

no test coverage detected