[#BloombergLP-bslstl-BoyerMooreHorspoolSearcher-2constructor-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/BoyerMooreHorspoolSearcher.adoc[BoyerMooreHorspoolSearcher]::BoyerMooreHorspoolSearcher
:relfileprefix: ../../../
:mrdocs:

Create a `BoyerMooreHorspoolSearcher` object having same state &hyphen;&hyphen; `needleFirst()`, `needleLast()`, `hash()`, and `equal()` &hyphen;&hyphen; as the specified `original` object, and that uses the currently installed default allocator to supply memory&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;boyermoorehorspoolsearcher&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
BoyerMooreHorspoolSearcher(xref:BloombergLP/bslstl/BoyerMooreHorspoolSearcher.adoc[BoyerMooreHorspoolSearcher] const& original);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
