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

Typedefs

template<typename I , typename O >
using ranges::replace_copy_result = detail::in_out_result< I, O >
 

Functions

template<typename I , typename S , typename O , typename T1 , typename T2 , typename P = identity>
replace_copy_result< I, O > ranges::replace_copy (I first, S last, O out, T1 const &old_value, T2 const &new_value, P proj={})
 function template replace_copy More...
 
template<typename Rng , typename O , typename T1 , typename T2 , typename P = identity>
replace_copy_result< borrowed_iterator_t< Rng >, O > ranges::replace_copy (Rng &&rng, O out, T1 const &old_value, T2 const &new_value, P proj={})
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...