setValue overloads

Synopses

Declared in <bdlcc_stripedunorderedmap.h>

Set or insert the move‐insertable value for key.

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

Set or insert the value for the specified key.

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

Return Value

1 if key was found, and 0 otherwise

Parameters

Name

Description

key

key of the element to set or insert

value

move‐insertable value to assign or insert

Created with MrDocs