[#BloombergLP-bdlcc-StripedUnorderedContainerImpl-eraseAllIf] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl.adoc[StripedUnorderedContainerImpl]::eraseAllIf :relfileprefix: ../../../ :mrdocs: 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_stripedunorderedcontainerimpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t eraseAllIf( KEY const& key, xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/EraseIfValuePredicate.adoc[EraseIfValuePredicate] const& predicate); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#