BloombergLP::bslstl::DefaultSearcher::DefaultSearcher

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

NameDescription
needleFirstbeginning of the needle sequence
needleLastend of the needle sequence
equalequality comparison functor for search