Create a searcher by moving from the specified original.

Synopsis

Declared in <bslstl_boyermoorehorspoolsearcher.h>

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

Description

The new object has the same state ‐‐ needleFirst(), needleLast(), hash(), and equal() ‐‐ as original. The allocator of original is propagated for use in the newly created searcher. The original object is left in an unspecified (valid) state.

Parameters

Name

Description

original

searcher whose state to move from

Created with MrDocs