#include <algorithms.h>
A matcher that finds the first element which satisfies a predicate.
公共成员函数 |
|
PredicateMatcher (const PRED &predIn) | |
PredicateMatcher (const PredicateMatcher &)=default | |
PredicateMatcher & | operator= (const PredicateMatcher &)=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 |
|
PRED | pred |
|
explicit |
|
default |
|
default |
auto FindNext | ( | ITERATOR | first , |
SENTINEL | sentinel | ||
) | const -> Match <ITERATOR> |
auto FindNextIndex | ( | const INDEXABLE & | indexable , |
IndexPair | indexPair | ||
) | const -> Match < Int > |
PRED pred |