visit overloads

Synopses

Declared in <bdlcc_stripedunorderedmap.h>

Call visitor on every element until finished or visitor returns false.

int
visit(VisitorFunction const& visitor);

Call visitor on the element having key, if present.

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

Return Value

  • number of elements visited, or its negation if stopped early

  • the number of elements updated, or ‐1 if visitor returned false

Parameters

Name

Description

visitor

functor invoked with each element's value address

key

key of the element to visit

Created with MrDocs