Lines Matching refs:to_erase
253 std::vector<Obj> to_erase; in TEST() local
256 to_erase.push_back(Obj(i, i)); in TEST()
258 to_erase.push_back(Obj(set.size() - 1, set.size() - 1)); // The last element. in TEST()
259 to_erase.push_back(Obj(set.size(), set.size())); // Not in the set. in TEST()
262 while (!to_erase.empty()) { in TEST()
263 size_t erased = set.erase(to_erase.back()); in TEST()
266 expected_total -= to_erase.back().val_; in TEST()
269 to_erase.pop_back(); in TEST()
322 std::vector<Obj> to_erase; in TEST() local
325 to_erase.push_back(Obj(i, i)); in TEST()
327 to_erase.push_back(Obj(set.size() - 1, set.size() - 1)); // The last element. in TEST()
328 to_erase.push_back(Obj(set.size(), set.size())); // Not in the set. in TEST()
331 while (!to_erase.empty()) { in TEST()
332 size_t erased = set.erase(to_erase.back()); in TEST()
335 expected_total -= to_erase.back().val_; in TEST()
338 to_erase.pop_back(); in TEST()