[#BloombergLP-bdlcc-StripedUnorderedMap-setValue-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedMap.adoc[StripedUnorderedMap]::setValue :relfileprefix: ../../../ :mrdocs: `setValue` overloads == Synopses Declared in `<bdlcc_stripedunorderedmap.h>` Set the value attribute of the element in this hash map having the specified `key` to the specified move‐insertable `value`. If no such such element exists, insert `(key, value)`. Return 1 if `key` was found, and 0 otherwise. The `value` object is left in a valid but unspecified state. If `value` is allocator‐enabled and `allocator() != value.allocator()` this operation may cost as much as a copy. Note that the return value equals the number of elements found having `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:BloombergLP/bdlcc/StripedUnorderedMap/setValue-09.adoc[setValue]( KEY const& key, xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<VALUE>] value); ---- [.small]#xref:BloombergLP/bdlcc/StripedUnorderedMap/setValue-09.adoc[_» more..._]# Set the value attribute of the element in this hash map having the specified `key` to the specified `value`. If no such such element exists, insert `(key, value)`. Return 1 if `key` was found, and 0 otherwise. Note that the return value equals the number of elements found having `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:BloombergLP/bdlcc/StripedUnorderedMap/setValue-01.adoc[setValue]( KEY const& key, VALUE const& value); ---- [.small]#xref:BloombergLP/bdlcc/StripedUnorderedMap/setValue-01.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#