Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::v3::search_n_fn Struct Reference

Public Member Functions

template<typename I , typename S , typename V , typename C = equal_to, typename P = ident, requires = (Searchnable<I, V, C, P>() && Sentinel<S, I>())>
operator() (I begin, S end, iterator_difference_t< I > count, V const &val, C pred_=C{}, P proj_=P{}) const
 
template<typename Rng , typename V , typename C = equal_to, typename P = ident, typename I = range_iterator_t<Rng>, requires = (Searchnable<I, V, C, P>() && Range<Rng>())>
range_safe_iterator_t< Rng > operator() (Rng &&rng, iterator_difference_t< I > count, V const &val, C pred_=C{}, P proj_=P{}) const