bsl::list::remove

Erase all the elements having the specified value from this list and return the number of erased elements.

Synopsis

Declared in <bslstl_list.h>

list<VALUE, ALLOCATOR>::size_type
remove(value_type const& value);