boost::container::erase
// In header: <boost/container/hub.hpp> template<typename T, typename Allocator, typename U = T> hub< T, Allocator >::size_type erase(hub< T, Allocator > & x, const U & value);
Effects: Erases all elements of x equal to value. Equivalent to erase_if(x, [&](const auto& e){ return e == value; }).
Returns: The number of erased elements.
Complexity: Linear in x.size().