BloombergLP::bslstl::BoyerMooreHorspoolSearcher_GeneralImp::BoyerMooreHorspoolSearcher_GeneralImp

Create an implementation with the same state as original.

Synopsis

Declared in <bslstl_boyermoorehorspoolsearcher.h>

BoyerMooreHorspoolSearcher_GeneralImp(
    BoyerMooreHorspoolSearcher_GeneralImp const& original,
    BloombergLP::bslma::Allocator* basicAllocator);

Description

Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
originalobject whose state to copy
basicAllocatormemory allocator; null uses the default