r advanced to the first occurrence of two adjacent elements that satisfy
the given predicate. If there are no such two elements, returns r advanced until empty.
Advances r until it finds the first two adjacent elements a, b that satisfy pred(a, b). Performs r.length evaluations of pred.
For more information about pred see find.
pred | The predicate to satisfy. |
r | A forward range to search in. |
r advanced to the first occurrence of two adjacent elements that satisfy
the given predicate. If there are no such two elements, returns r advanced until empty.