Erase the first element with key for which predicate is true.
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
std::size_t
eraseFirstIf(
KEY const& key,
EraseIfValuePredicate const& predicate);
Return the number of elements erased.
number of elements erased
| Name | Description |
|---|---|
| key | key whose matching elements may be erased |
| predicate | returns true for values that should be erased |