visitReadOnly overloads
Synopses
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
Visit every element read‐only by invoking the specified visitor.
int
visitReadOnly(ReadOnlyVisitorFunction const& visitor) const;
Visit each element with key read‐only via the specified visitor.
int
visitReadOnly(
KEY const& key,
ReadOnlyVisitorFunction const& visitor) const;
Return Value
number of elements visited, or its negation if stopped early
Parameters
Name |
Description |
visitor |
functor invoked with each element |
key |
key of the elements to visit |
Created with MrDocs