setValueFirst overloads

Synopses

Declared in <bdlcc_stripedunorderedmultimap.h>

Set the first matching element's value by move, or insert one.

std::size_t
setValueFirst(
    KEY const& key,
    bslmf::MovableRef<VALUE> value);

Set the value of the first element matching key, or insert one.

std::size_t
setValueFirst(
    KEY const& key,
    VALUE const& value);

Return Value

number of elements found with key

Parameters

Name

Description

key

key of the element to set or insert

value

move‐insertable value to assign or insert

Created with MrDocs