Erase all elements in l that compare equal to value.
Synopsis
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);
Description
Return the number of elements erased.
Return Value
number of elements erased
Parameters
Name |
Description |
l |
list from which to erase elements |
value |
value of elements to erase |
Created with MrDocs