[#BloombergLP-bdlcc-StripedUnorderedMultiMap-update]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedMultiMap.adoc[StripedUnorderedMultiMap]::update
:relfileprefix: ../../../
:mrdocs:

Serially call the specified `visitor` on each element (if one exists) in this hash map having the specified `key` until every such element has been updated or `visitor` returns `false`&period; That is, for `(key, value)`, invoke&colon; &grave; bool visitor(&amp;value, key)&semi; &grave; Return the number of elements visited or the negation of that value if visitations stopped because `visitor` returned `false`&period; `visitor` has exclusive access (i&period;e&period;, write access) to each element for duration of each invocation&period; The behavior is undefined if hash map manipulators and `getValue&ast;` methods are invoked from within `visitor`, as it may lead to a deadlock&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;stripedunorderedmultimap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
update(
    KEY const& key,
    xref:BloombergLP/bdlcc/StripedUnorderedMultiMap/VisitorFunction.adoc[VisitorFunction] const& visitor);
----

== Description

DEPRECATED&colon; Use `visit(key, visitor)` instead&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
