BloombergLP::bslstl::BoyerMooreHorspoolSearcher::BoyerMooreHorspoolSearcher

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

Synopsis

Declared in <bslstl_boyermoorehorspoolsearcher.h>

BoyerMooreHorspoolSearcher(BoyerMooreHorspoolSearcher const& original);

Description

The new object has the same needleFirst(), needleLast(), hash(), and equal() as original, and uses the currently installed default allocator to supply memory.

Parameters

NameDescription
originalsearcher whose state to copy