Constructors
Declared in <bslstl_boyermoorehorspoolsearcher.h>
Create a BoyerMooreHorspoolSearcher_GeneralImp object having same state as the specified original object. The allocator of original is propagated to the new object.
BoyerMooreHorspoolSearcher_GeneralImp(BoyerMooreHorspoolSearcher_GeneralImp const& original);
» more...
Create a BoyerMooreHorspoolSearcher_GeneralImp object having same state as the specified original object by moving (in constant time) the state of the original object to the new object. The allocator of original is propagated to the new object. The original object is left in an unspecified (valid) state.
BoyerMooreHorspoolSearcher_GeneralImp(BloombergLP::bslmf::MovableRef<BoyerMooreHorspoolSearcher_GeneralImp> original) noexcept;
» more...
Create a BoyerMooreHorspoolSearcher_GeneralImp object having same state as the specified original object and that uses 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. The original object is left in an unspecified (valid) state.
BoyerMooreHorspoolSearcher_GeneralImp(
BloombergLP::bslmf::MovableRef<BoyerMooreHorspoolSearcher_GeneralImp> original,
BloombergLP::bslma::Allocator* basicAllocator);
» more...
Create a BoyerMooreHorspoolSearcher_GeneralImp object having the same state as the specified original object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
BoyerMooreHorspoolSearcher_GeneralImp(
BoyerMooreHorspoolSearcher_GeneralImp const& original,
BloombergLP::bslma::Allocator* basicAllocator);
» more...
Create a BoyerMooreHorspoolSearcher_GeneralImp object for the sequence of value_type values in the specified range [needleFirst, needlelast)]. The specified hash and equal functors are used to store/access metadata associated with the needle. See {Requirements for HASH and EQUAL}. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless needleFirst can be advanced to needleLast.
BoyerMooreHorspoolSearcher_GeneralImp(
RNDACC_ITR_NEEDLE needleFirst,
RNDACC_ITR_NEEDLE needleLast,
HASH hash,
EQUAL equal,
BloombergLP::bslma::Allocator* basicAllocator);
» more...