#include <algorithms.h>
A matcher that finds the first element which satisfies a predicate.
Public Member Functions | |
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> |
PRED pred |