BloombergLP::bdlcc::StripedUnorderedMultiMap::visitReadOnly

visitReadOnly overloads

Synopses

Declared in <bdlcc_stripedunorderedmultimap.h>

Call visitor read-only on each element until finished or it returns false.

int
visitReadOnly(ReadOnlyVisitorFunction const& visitor) const;
» more...

Call visitor read-only on each element matching key.

int
visitReadOnly(
    KEY const& key,
    ReadOnlyVisitorFunction const& visitor) const;
» more...

Return Value

number of elements visited, or its negation if stopped early

Parameters

NameDescription
visitorread-only functor invoked with each element
keykey of the elements to visit