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

`insert` overloads

== Synopses

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

Insert or update using the move&hyphen;insertable `value` for `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
xref:BloombergLP/bdlcc/StripedUnorderedMap/insert-0e.adoc[insert](
    KEY const& key,
    xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;VALUE&gt;] value);
----

[.small]#xref:BloombergLP/bdlcc/StripedUnorderedMap/insert-0e.adoc[_» more&period;&period;&period;_]#

Insert or update the element having the specified `key` and `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
xref:BloombergLP/bdlcc/StripedUnorderedMap/insert-0f.adoc[insert](
    KEY const& key,
    VALUE const& value);
----

[.small]#xref:BloombergLP/bdlcc/StripedUnorderedMap/insert-0f.adoc[_» more&period;&period;&period;_]#

== Return Value

1 if an element is inserted, and 0 if an existing element is updated

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| key of the element to insert or update
| *value*
| move&hyphen;insertable value to assign or insert
|===


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