Set the value attribute of the element in this hash map having the specified key to the specified value. If no such element exists, insert (key, value). If there are multiple elements in this hash map having key then set the value of the first such element found. Return the number of elements found having key. Note that if no elements were found, and a new value was inserted, 0 is returned. Also note that, when there are multiple elements having key, the selection of "first" is unspecified and subject to change.
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
std::size_t
setValueFirst(
KEY const& key,
bslmf::MovableRef<VALUE> value);