BloombergLP::bslstl::BoyerMooreHorspoolSearcher::operator=

Move-assign to this object the state of the specified rhs object.

Synopsis

Declared in <bslstl_boyermoorehorspoolsearcher.h>

BoyerMooreHorspoolSearcher<RNDACC_ITR_NEEDLE, HASH, EQUAL>&
operator=(BloombergLP::bslmf::MovableRef<BoyerMooreHorspoolSearcher> rhs);

Description

Assigns needleFirst(), needleLast(), hash(), and equal() from rhs, and return a non-const reference to this searcher. The rhs is left in an unspecified (valid) state.

Return Value

non-const reference to this searcher

Parameters

NameDescription
rhssearcher whose state to move-assign from