#include <algorithms.h>
A matcher that finds the first sequence of continuous elements which satisfy a predicate.
公共成员函数 |
|
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> |
auto FindNextIndex | ( | const INDEXABLE & | indexable , |
IndexPair | indexPair | ||
) | const -> Match < Int > |
const PRED& pred |