[#BloombergLP-bdlcc-StripedUnorderedContainerImpl-eraseAll]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl.adoc[StripedUnorderedContainerImpl]::eraseAll
:relfileprefix: ../../../
:mrdocs:

Erase all elements matching the specified `key`&period;

== Synopsis

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

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

== Description

Return the number of elements erased&period;

== Return Value

number of elements erased

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| key whose matching elements are erased
|===


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