Remove the element with key if predicate holds true.
Declared in <bdlcc_stripedunorderedmap.h>
std::size_t
eraseIf(
KEY const& key,
EraseIfValuePredicate const& predicate);
Return the number of elements erased.
the number of elements erased
| Name | Description |
|---|---|
| key | key of the element that may be erased |
| predicate | returns true for a value that should be erased |