Lines Matching refs:erase
504 vector<B>::iterator res = empty.erase(empty.end()); in testEraseElt()
513 vector<B>::iterator res = one.erase(one.begin()); in testEraseElt()
524 vector<B>::iterator res = two.erase(two.begin()); in testEraseElt()
537 pos = vec.erase(vec.begin() + 2); // removes '2' in testEraseElt()
540 pos = vec.erase(vec.begin() + 18); // removes '19' now @ pos 18 in testEraseElt()
553 pos = vec.erase(vec.begin() + 1); // removes 'second' in testEraseElt()
567 vector<B>::iterator res = empty.erase(empty.begin(), empty.end()); in testEraseRange()
577 vector<B>::iterator res = one.erase(one.begin(), one.end()); in testEraseRange()
589 vector<B>::iterator res = two.erase(two.begin(), two.begin() + 1); in testEraseRange()
603 vector<B>::iterator res = two.erase(two.begin(), two.begin()); in testEraseRange()
617 pos = vec.erase(vec.begin() + 2, vec.begin() + 3); // removes '2' in testEraseRange()
620 pos = vec.erase(vec.begin() + 18, vec.end()); // removes '19' now @ pos 18 in testEraseRange()
633 pos = vec.erase(vec.begin() + 1, vec.begin() + 3); // removes 'second' and third. in testEraseRange()
638 pos = vec.erase(vec.begin(), vec.end()); // clears the vector in testEraseRange()