[#BloombergLP-bdlcc-StripedUnorderedMultiMap-eraseFirstIf] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedMultiMap.adoc[StripedUnorderedMultiMap]::eraseFirstIf :relfileprefix: ../../../ :mrdocs: Erase from this hash map the _first_ element (of possibly many) with specified `key` found, for which the specified `predicate` holds true. Return the number of elements erased. == Synopsis Declared in `<bdlcc_stripedunorderedmultimap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t eraseFirstIf( KEY const& key, xref:BloombergLP/bdlcc/StripedUnorderedMultiMap/EraseIfValuePredicate.adoc[EraseIfValuePredicate] const& predicate); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#