BloombergLP::bdlcc::StripedUnorderedContainerImpl::visit

visit overloads

Synopses

Declared in <bdlcc_stripedunorderedcontainerimpl.h>

Visit every element by invoking the specified visitor.

int
visit(VisitorFunction const& visitor);
» more...

Visit each element with key by invoking the specified visitor.

int
visit(
    KEY const& key,
    VisitorFunction const& visitor);
» more...

Return Value

number of elements visited, or its negation if stopped early

Parameters

NameDescription
visitorfunctor invoked with each element
keykey of the elements to visit