[#BloombergLP-bdlcc-StripedUnorderedMultiMap-eraseFirst]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedMultiMap.adoc[StripedUnorderedMultiMap]::eraseFirst
:relfileprefix: ../../../
:mrdocs:

Erase from this hash map the _first_ element (of possibly many) found to the specified `key`&period; Return the number of elements erased&period; Note that method is more performant than `eraseAll` when there is one element having `key`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
eraseFirst(KEY const& key);
----


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