bsl::erase_if

Erase all the elements in the specified multimap m that satisfy the specified predicate predicate. Return the number of elements erased.

Synopsis

Declared in <bslstl_multimap.h>

template<
    class KEY,
    class VALUE,
    class COMPARATOR,
    class ALLOCATOR,
    class PREDICATE>
bsl::multimap<KEY, VALUE, COMPARATOR, ALLOCATOR>::size_type
erase_if(
    multimap<KEY, VALUE, COMPARATOR, ALLOCATOR>& m,
    PREDICATE predicate);