Erase all the elements in the specified list l that compare equal to the specified value. Return the number of elements erased.
Declared in <bslstl_list.h>
template<
class VALUE,
class ALLOCATOR,
class BDE_OTHER_TYPE>
bsl::list<VALUE, ALLOCATOR>::size_type
erase(
list<VALUE, ALLOCATOR>& l,
BDE_OTHER_TYPE const& value);