Range-v3
Range algorithms, views, and actions for the Standard Library
find_end.hpp File Reference

Functions

template<typename I1 , typename S1 , typename I2 , typename S2 , typename R = equal_to, typename P = identity>
requires forward_iterator<I1> && sentinel_for<S1, I1> && forward_iterator<I2> && sentinel_for<S2, I2> && indirect_relation<R, projected<I1, P>, I2>
constexpr subrange< I1 > ranges::find_end (I1 begin1, S1 end1, I2 begin2, S2 end2, R pred=R{}, P proj=P{})
 function template find_end
 
template<typename Rng1 , typename Rng2 , typename R = equal_to, typename P = identity>
requires forward_range<Rng1> && forward_range<Rng2> && indirect_relation<R, projected<iterator_t<Rng1>, P>, iterator_t<Rng2>>
constexpr borrowed_subrange_t< Rng1ranges::find_end (Rng1 &&rng1, Rng2 &&rng2, R pred=R{}, P proj=P{})
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.