[#BloombergLP-bslstl-BoyerMooreHorspoolSearcher_GeneralImp-2constructor-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/BoyerMooreHorspoolSearcher_GeneralImp.adoc[BoyerMooreHorspoolSearcher&lowbar;GeneralImp]::BoyerMooreHorspoolSearcher&lowbar;GeneralImp
:relfileprefix: ../../../
:mrdocs:

Create a `BoyerMooreHorspoolSearcher&lowbar;GeneralImp` object having the same state as the specified `original` object&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
BoyerMooreHorspoolSearcher&lowbar;GeneralImp(
    xref:BloombergLP/bslstl/BoyerMooreHorspoolSearcher_GeneralImp.adoc[BoyerMooreHorspoolSearcher&lowbar;GeneralImp] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[BloombergLP::bslma::Allocator]* basicAllocator);
----


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