boost::container::erase
// In header: <boost/container/deque.hpp> template<typename T, typename A, typename O, typename U> deque< T, A, O >::size_type erase(deque< T, A, O > & c, const U & v);
Effects: Erases all elements that compare equal to v from the container c.
Complexity: Linear.