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

Name

Description

original

searcher whose state to copy

Created with MrDocs