21 Containers library [containers]

21.3 Sequence containers [sequences]

21.3.8 Class template deque [deque]

21.3.8.5 Erasure [deque.erasure]

template <class T, class Allocator, class U> void erase(deque<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(deque<T, Allocator>& c, Predicate pred);
Effects: Equivalent to: c.erase(remove_­if(c.begin(), c.end(), pred), c.end());