#include <algorithms.h>
A matcher that finds the first sequence of continuous elements which satisfy a predicate.
Public Member Functions | |
RepeatingPredicateMatcher (const PRED &predIn) | |
RepeatingPredicateMatcher (const RepeatingPredicateMatcher &)=default | |
RepeatingPredicateMatcher & | operator= (const RepeatingPredicateMatcher &)=default |
template<typename ITERATOR , typename SENTINEL > | |
auto | FindNext (ITERATOR first, SENTINEL sentinel) const -> Match< ITERATOR > |
template<typename INDEXABLE > | |
auto | FindNextIndex (const INDEXABLE &indexable, IndexPair indexPair) const -> Match< Int > |
Public Attributes | |
const PRED & | pred |
|
explicit |
|
default |
|
default |
auto FindNext | ( | ITERATOR | first, |
SENTINEL | sentinel | ||
) | const -> Match<ITERATOR> |
const PRED& pred |