BloombergLP::bdlcc::StripedUnorderedContainerImpl::setValueAll

Set every element with key to value, inserting if none exist.

Synopsis

Declared in <bdlcc_stripedunorderedcontainerimpl.h>

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

Description

Return the number of elements found with key. Note that if no elements were found, and a new value was inserted, 0 is returned.

Return Value

number of elements found with key

Parameters

NameDescription
keykey of the elements to set or insert
valuevalue to assign or insert