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

Public Member Functions

template<typename I , typename S , typename O , typename C , typename T , typename P = ident, requires = (ReplaceCopyIfable<I, O, C, T, P>() && Sentinel<S, I>())>
tagged_pair< tag::in(I), tag::out(O)> operator() (I begin, S end, O out, C pred, T const &new_value, P proj={}) const
 
template<typename Rng , typename O , typename C , typename T , typename P = ident, typename I = iterator_t<Rng>, requires = (ReplaceCopyIfable<I, O, C, T, P>() && Range<Rng>())>
tagged_pair< tag::in(safe_iterator_t< Rng >), tag::out(O)> operator() (Rng &&rng, O out, C pred, T const &new_value, P proj={}) const