[#BloombergLP-bdlcc-Cache-insertBulk-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Cache.adoc[Cache]::insertBulk
:relfileprefix: ../../../
:mrdocs:

`insertBulk` overloads

== Synopses

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

Insert the specified movable `data` into this cache&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/bdlcc/Cache/insertBulk-03.adoc[insertBulk](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;bsl::vector&lt;KVType&gt;&gt;] data);
----

[.small]#xref:BloombergLP/bdlcc/Cache/insertBulk-03.adoc[_» more&period;&period;&period;_]#

Insert the specified `data` of key&hyphen;value pairs into this cache&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/bdlcc/Cache/insertBulk-09.adoc[insertBulk](xref:bsl/vector-00d.adoc[bsl::vector&lt;KVType&gt;] const& data);
----

[.small]#xref:BloombergLP/bdlcc/Cache/insertBulk-09.adoc[_» more&period;&period;&period;_]#

Insert the specified range of key&hyphen;value pairs into this cache&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INPUT&lowbar;ITERATOR&gt;
int
xref:BloombergLP/bdlcc/Cache/insertBulk-04.adoc[insertBulk](
    INPUT&lowbar;ITERATOR begin,
    INPUT&lowbar;ITERATOR end);
----

[.small]#xref:BloombergLP/bdlcc/Cache/insertBulk-04.adoc[_» more&period;&period;&period;_]#

== Return Value

the number of items successfully inserted

== Parameters

[cols="1,4"]
|===
| Name| Description
| *data*
| key&hyphen;value pairs to insert
| *begin*
| beginning of the key&hyphen;value range
| *end*
| end of the key&hyphen;value range
|===


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