[#BloombergLP-bslstl-BoyerMooreHorspoolSearcher_CharImp-2constructor-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/BoyerMooreHorspoolSearcher_CharImp.adoc[BoyerMooreHorspoolSearcher_CharImp]::BoyerMooreHorspoolSearcher_CharImp :relfileprefix: ../../../ :mrdocs: Create a `BoyerMooreHorspoolSearcher_CharImp` object having the same state as the specified `original` object and that uses the specified `basicAllocator` to supply memory. The state of `original` is moved (in constant time) to the new searcher if `basicAllocator == original.allocator()`, and is copied using `basicAllocator` otherwise. If `basicAllocator` is 0, the currently installed default allocator is used. The `original` object is left in an unspecified (valid) state. == Synopsis Declared in `<bslstl_boyermoorehorspoolsearcher.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- BoyerMooreHorspoolSearcher_CharImp( xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<BoyerMooreHorspoolSearcher_CharImp>] original, xref:BloombergLP/bslma/Allocator.adoc[BloombergLP::bslma::Allocator]* basicAllocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#