Horizon
Loading...
Searching...
No Matches
Namespaces | Functions
replace.hpp File Reference
#include <meta/meta.hpp>
#include <range/v3/range_fwd.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
 

Functions

 ranges::template (typename I, typename S, typename T1, typename T2, typename P=identity)(AND sentinel_for< S
 function template replace
 
I AND indirectly_writable< I, T2 const & > AND indirect_relation< equal_to, projected< I, P >, T1 const * > constexpr I RANGES_FUNC() ranges::replace (I first, S last, T1 const &old_value, T2 const &new_value, P proj={})
 
 ranges::template (typename Rng, typename T1, typename T2, typename P=identity)(AND indirectly_writable< iterator_t< Rng >
 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 indirect_relation< equal_to, projected< iterator_t< Rng >, P >, T1 const * > constexpr borrowed_iterator_t< Rng > RANGES_FUNC() ranges::replace (Rng &&rng, T1 const &old_value, T2 const &new_value, P proj={})