Public Member Functions | |
template<typename I , typename S , typename C = equal_to, typename P = ident, requires = (ForwardIterator<I>() && Sentinel<S, I>() && IndirectCallableRelation<C, projected<I, P>>())> | |
I | operator() (I begin, S end, C pred_=C{}, P proj_=P{}) const |
function template adjacent_find_fn::operator() More... | |
template<typename Rng , typename C = equal_to, typename P = ident, typename I = range_iterator_t<Rng>, requires = (ForwardRange<Rng>() && IndirectCallableRelation<C, projected<I, P>>())> | |
range_safe_iterator_t< Rng > | operator() (Rng &&rng, C pred=C{}, P proj=P{}) const |
I ranges::v3::adjacent_find_fn::operator() | ( | I | begin, |
S | end, | ||
C | pred_ = C{} , |
||
P | proj_ = P{} |
||
) | const |
function template adjacent_find_fn::operator()
range-based version of the adjacent_find
std algorithm
Rng
is a model of the Range
concept C
is a model of the BinaryPredicate
concept range_safe_iterator_t<Rng> ranges::v3::adjacent_find_fn::operator() | ( | Rng && | rng, |
C | pred = C{} , |
||
P | proj = P{} |
||
) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.