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;

Call visitor read‐only on each element matching key.

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

read‐only functor invoked with each element

key

key of the elements to visit

Created with MrDocs