Horizon
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
replace_copy.hpp File Reference
#include <meta/meta.hpp>
#include <range/v3/range_fwd.hpp>
#include <range/v3/algorithm/result_types.hpp>
#include <range/v3/functional/identity.hpp>
#include <range/v3/functional/invoke.hpp>
#include <range/v3/iterator/concepts.hpp>
#include <range/v3/iterator/traits.hpp>
#include <range/v3/range/access.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/range/dangling.hpp>
#include <range/v3/range/traits.hpp>
#include <range/v3/utility/static_const.hpp>
#include <range/v3/detail/prologue.hpp>
#include <range/v3/detail/epilogue.hpp>

Go to the source code of this file.

Namespaces

namespace  ranges::cpp20
 

Typedefs

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

Functions

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