[#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&period; Return the number of elements erased&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;stripedunorderedmultimap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
eraseFirstIf(
    KEY const& key,
    xref:BloombergLP/bdlcc/StripedUnorderedMultiMap/EraseIfValuePredicate.adoc[EraseIfValuePredicate] const& predicate);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
