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

Insert or update unique keys from 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
insertBulk(
    RANDOM&lowbar;ITER first,
    RANDOM&lowbar;ITER last);
----

== Description

The iterators provide read access to a sequence of `bsl&colon;&colon;pair&lt;KEY, VALUE&gt;` objects&period; If an element having one of the keys already exists in this hash map, set the value attribute to the corresponding value from `data`&period; All insertions are done by the calling thread and the order of insertion is not specified&period; Return the number of elements inserted&period; The behavior is undefined unless `first &lt;&equals; last`&period;

== Return Value

the number of elements inserted

== Parameters

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


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