Constructors

Synopses

Declared in <bslstl_boyermoorehorspoolsearcher.h>

Create a searcher with the same state as the specified original.

Create a searcher by moving from the specified original.

Create a searcher by moving from original using basicAllocator.

Create a searcher with the same state as original.

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

BoyerMooreHorspoolSearcher(
    RNDACC_ITR_NEEDLE needleFirst,
    RNDACC_ITR_NEEDLE needleLast,
    HASH hash = HASH(),
    EQUAL equal = EQUAL(),
    BloombergLP::bslma::Allocator* basicAllocator = 0);

Parameters

Name

Description

original

searcher whose state to copy

basicAllocator

memory allocator; null uses the default

needleFirst

beginning of the needle sequence

needleLast

end of the needle sequence

hash

hash functor used to compute mismatch skip distances

equal

equality comparison functor for hash and search

Created with MrDocs