Call the specified visitor with the element (if one exists) in this hash map having the specified key. That is: ` bool visitor(&value, key); ` Return the number of elements updated or ‐1 if visitor returned false. visitor has exclusive access (i.e., write access) the element for during its invocation. The behavior is undefined if hash map manipulators and getValue* methods are invoked from within visitor, as it may lead to a deadlock.
Synopsis
Declared in <bdlcc_stripedunorderedmap.h>
int
update(
KEY const& key,
VisitorFunction const& visitor);
Description
DEPRECATED: Use visit(key, visitor) instead.
Created with MrDocs