BloombergLP::bslstl::BoyerMooreHorspoolSearcher::BoyerMooreHorspoolSearcher

Create a BoyerMooreHorspoolSearcher object having same state -- needleFirst(), needleLast(), hash(), and equal() -- as the specified original object by moving (in constant time) the state of original to the new searcher. The allocator of original is propagated for use in the newly created searcher. The original object is left in an unspecified (valid) state.

Synopsis

Declared in <bslstl_boyermoorehorspoolsearcher.h>

BoyerMooreHorspoolSearcher(BloombergLP::bslmf::MovableRef<BoyerMooreHorspoolSearcher> original) noexcept;