visitReadOnly overloads
Declared in <bdlcc_stripedunorderedmap.h>
Call read-only visitor on every element until finished or it returns false.
int
visitReadOnly(ReadOnlyVisitorFunction const& visitor) const;
» more...
Call read-only visitor on the element having key, if present.
int
visitReadOnly(
KEY const& key,
ReadOnlyVisitorFunction const& visitor) const;
» more...
-1 if visitor returned false| Name | Description |
|---|---|
| visitor | read-only functor invoked with each element |
| key | key of the element to visit |