[#BloombergLP-bslstl-DefaultSearcher-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/DefaultSearcher.adoc[DefaultSearcher]::DefaultSearcher :relfileprefix: ../../../ :mrdocs: Create a searcher for the needle `[needleFirst, needleLast)]`. == Synopsis Declared in `<bslstl_defaultsearcher.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *needleFirst* | beginning of the needle sequence | *needleLast* | end of the needle sequence | *equal* | equality comparison functor for search |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#