Erase from this hash map the elements having the specified key for which the specified predicate holds true. Return the number of elements erased.

Synopsis

Declared in <bdlcc_stripedunorderedmultimap.h>

std::size_t
eraseAllIf(
    KEY const& key,
    EraseIfValuePredicate const& predicate);

Return Value

number of elements erased

Parameters

Name

Description

key

key whose matching elements may be erased

predicate

returns true for values that should be erased

Created with MrDocs