21 Containers library [containers]

21.3 Sequence containers [sequences]

21.3.11 Class template vector [vector]

21.3.11.6 Erasure [vector.erasure]

template <class T, class Allocator, class U> void erase(vector<T, Allocator>& c, const U& value);
Effects: Equivalent to: c.erase(remove(c.begin(), c.end(), value), c.end());
template <class T, class Allocator, class Predicate> void erase_if(vector<T, Allocator>& c, Predicate pred);
Effects: Equivalent to: c.erase(remove_­if(c.begin(), c.end(), pred), c.end());