BloombergLP::bslstl::BoyerMooreHorspoolSearcher::operator=

Assign to this object the state of the specified rhs object.

Synopsis

Declared in <bslstl_boyermoorehorspoolsearcher.h>

BoyerMooreHorspoolSearcher<RNDACC_ITR_NEEDLE, HASH, EQUAL>&
operator=(BoyerMooreHorspoolSearcher const& rhs);

Description

Copies needleFirst(), needleLast(), hash(), and equal() from rhs, and return a non-const reference to this searcher.

Return Value

non-const reference to this searcher

Parameters

NameDescription
rhssearcher whose state to assign from