[#BloombergLP-bdlcc-StripedUnorderedMultiMap-setValueFirst-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedMultiMap.adoc[StripedUnorderedMultiMap]::setValueFirst
:relfileprefix: ../../../
:mrdocs:

`setValueFirst` overloads

== Synopses

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

Set the first matching element&apos;s value by move, or insert one&period;


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

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

Set the value of the first element matching `key`, or insert one&period;


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

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

== Return Value

number of elements found with `key`

== Parameters

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


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