[#BloombergLP-bdlcc-StripedUnorderedContainerImpl-setValueFirst-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl.adoc[StripedUnorderedContainerImpl]::setValueFirst :relfileprefix: ../../../ :mrdocs: `setValueFirst` overloads == Synopses Declared in `<bdlcc_stripedunorderedcontainerimpl.h>` Set the first element with `key` to the move‐insertable `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/setValueFirst-0c.adoc[setValueFirst]( KEY const& key, xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<VALUE>] value); ---- [.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/setValueFirst-0c.adoc[_» more..._]# Set the first element with `key` to `value`, inserting if absent. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/setValueFirst-03.adoc[setValueFirst]( KEY const& key, VALUE const& value); ---- [.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/setValueFirst-03.adoc[_» more..._]# == Return Value * number of elements found having `key` * number of elements found with `key` == Parameters [cols="1,4"] |=== | Name| Description | *key* | key of the element to set or insert | *value* | move‐insertable value to assign or insert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#