BloombergLP::bdlcc::StripedUnorderedMultiMap::eraseAllIf

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

NameDescription
keykey whose matching elements may be erased
predicatereturns true for values that should be erased