[#BloombergLP-bdlcc-StripedUnorderedMap-eraseBulk]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedMap.adoc[StripedUnorderedMap]::eraseBulk
:relfileprefix: ../../../
:mrdocs:

Erase elements whose keys fall in the range `&lsqb;first, last)&rsqb;`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class RANDOM&lowbar;ITER&gt;
std::size&lowbar;t
eraseBulk(
    RANDOM&lowbar;ITER first,
    RANDOM&lowbar;ITER last);
----

== Description

The iterators provide read access to a sequence of `KEY` objects&period; All erasures are done by the calling thread and the order of erasure is not specified&period; Return the number of elements removed&period; The behavior is undefined unless `first &lt;&equals; last`&period; Note that the map may not have an element for every value in `keys`&period;

== Return Value

the number of elements removed

== Parameters

[cols="1,4"]
|===
| Name| Description
| *first*
| beginning of the key range
| *last*
| end of the key range
|===


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