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

Method operator-

libCacheSim/dataStructure/sparsepp/spp.h:842–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

840 }
841
842 friend size_t operator-(iterator l, iterator f)
843 {
844 if (f.row_current->is_marked())
845 return 0;
846
847 size_t diff(0);
848 while (f != l)
849 {
850 ++diff;
851 ++f;
852 }
853 return diff;
854 }
855
856 iterator& operator++()
857 {

Callers

nothing calls this directly

Calls 1

is_markedMethod · 0.80

Tested by

no test coverage detected