BloombergLP::bdlcc::StripedUnorderedMap::setValue

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);
» more...

Set or insert the value for the specified key.

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

Return Value

1 if key was found, and 0 otherwise

Parameters

NameDescription
keykey of the element to set or insert
valuemove-insertable value to assign or insert