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

Method Two_d_iterator

libCacheSim/dataStructure/sparsepp/spp.h:791–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789 typedef T& reference;
790
791 explicit Two_d_iterator(row_it curr) : row_current(curr), col_current(0)
792 {
793 if (row_current && !row_current->is_marked())
794 {
795 col_current = row_current->ne_begin();
796 advance_past_end(); // in case cur->begin() == cur->end()
797 }
798 }
799
800 explicit Two_d_iterator(row_it curr, col_it col) : row_current(curr), col_current(col)
801 {

Callers

nothing calls this directly

Calls 3

assertFunction · 0.85
is_markedMethod · 0.80
ne_beginMethod · 0.45

Tested by

no test coverage detected