Erase from this hash map the elements having the specified key for which the specified predicate holds true. Return the number of elements erased.
Declared in <bdlcc_stripedunorderedmultimap.h>
std::size_t
eraseAllIf(
KEY const& key,
EraseIfValuePredicate const& predicate);
number of elements erased
| Name | Description |
|---|---|
| key | key whose matching elements may be erased |
| predicate | returns true for values that should be erased |