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

Same as the preceding overload, moving `value` into the cache&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
insert(
    KEY const& key,
    xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;VALUE&gt;] value);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| key to insert
| *value*
| value associated with `key`
|===


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