Go to the source code of this file.
|
| ranges::template (typename I, typename S, typename C, typename T, typename P=identity)(AND sentinel_for< S |
| function template replace_if
|
|
I AND indirect_unary_predicate< C, projected< I, P > > AND indirectly_writable< I, T const & > constexpr I RANGES_FUNC() | ranges::replace_if (I first, S last, C pred, T const &new_value, P proj=P{}) |
|
| ranges::template (typename Rng, typename C, typename T, typename P=identity)(AND indirect_unary_predicate< C |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
projected< iterator_t< Rng >, P > AND indirectly_writable< iterator_t< Rng >, T const & > constexpr borrowed_iterator_t< Rng > RANGES_FUNC() | ranges::replace_if (Rng &&rng, C pred, T const &new_value, P proj=P{}) |
|