BloombergLP::bdlcc::StripedUnorderedMap::setValue

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.

Synopsis

Declared in <bdlcc_stripedunorderedmap.h>

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