[#BloombergLP-bdlcc-StripedUnorderedContainerImpl-insertUnique-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl.adoc[StripedUnorderedContainerImpl]::insertUnique :relfileprefix: ../../../ :mrdocs: `insertUnique` overloads == Synopses Declared in `<bdlcc_stripedunorderedcontainerimpl.h>` Insert or update using the move‐insertable `value` for `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/insertUnique-0a.adoc[insertUnique]( KEY const& key, xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<VALUE>] value); ---- [.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/insertUnique-0a.adoc[_» more..._]# Insert or update the element having the specified `key` and `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/insertUnique-07.adoc[insertUnique]( KEY const& key, VALUE const& value); ---- [.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/insertUnique-07.adoc[_» more..._]# == 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‐insertable value to assign or insert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#