Lines Matching refs:it1
46 typename std::set<T>::iterator it1 = set1.begin(); in intersectInPlace() local
48 while (it1 != set1.end() && it2 != set2.end()) { in intersectInPlace()
49 const T& element1 = *it1; in intersectInPlace()
53 it1 = set1.erase(it1); in intersectInPlace()
60 it1++; in intersectInPlace()
65 set1.erase(it1, set1.end()); in intersectInPlace()
73 typename std::map<K, V>::iterator it1 = map.begin(); in intersectInPlace() local
75 while (it1 != map.end() && it2 != set2.end()) { in intersectInPlace()
76 const auto& [key, _] = *it1; in intersectInPlace()
80 it1 = map.erase(it1); in intersectInPlace()
87 it1++; in intersectInPlace()
92 map.erase(it1, map.end()); in intersectInPlace()