Create a searcher for the needle [needleFirst, needleLast)].

Synopsis

Declared in <bslstl_defaultsearcher.h>

DefaultSearcher(
    FORWARD_ITR_NEEDLE needleFirst,
    FORWARD_ITR_NEEDLE needleLast,
    EQUAL equal = EQUAL());

Description

Optionally supply an equal functor for use by operator(). The behavior is undefined unless needleFirst can be advanced to equal needleLast.

Parameters

Name

Description

needleFirst

beginning of the needle sequence

needleLast

end of the needle sequence

equal

equality comparison functor for search

Created with MrDocs