Constructors

Synopses

Declared in <bslstl_boyermoorehorspoolsearcher.h>

Copy‐construct a BoyerMooreHorspoolSearcher_CharImp.

Create an implementation by moving from the specified original.

Create an implementation by moving from original using the given allocator.

Create an implementation with the same state as original.

Create a char‐optimized implementation for [needleFirst, needleLast)].

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

Parameters

Name

Description

original

object 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 (unused in this specialization)

equal

equality comparison functor (unused in this specialization)

Created with MrDocs