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