[#BloombergLP-bdlcc-StripedUnorderedContainerImpl-insertUnique-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl.adoc[StripedUnorderedContainerImpl]::insertUnique
:relfileprefix: ../../../
:mrdocs:

Insert into this hash map an element having the specified `key` and `value`&period; If `key` already exists in this hash map, the value attribute of that element is set to `value`&period; Return 1 if an element is inserted, and 0 if an existing element is updated&period; Note that the return value equals the number of elements inserted&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
insertUnique(
    KEY const& key,
    VALUE const& value);
----


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