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