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

Synopsis

Declared in <bslstl_unorderedmultimap.h>

template<
    class KEY,
    class VALUE,
    class HASH,
    class EQUAL,
    class ALLOCATOR,
    class PREDICATE>
bsl::unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>::size_type
erase_if(
    unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>& m,
    PREDICATE predicate);

Created with MrDocs