template <class ForwardIterator, class Predicate, class T>
void replace(ForwardIterator first, ForwardIterator last, Predicate pred
const T& new_value)
Description
Replace_if replaces every element in the range [first, last) for
which pred returns true with new_value. That is: for every
iterator i, if pred(*i) is true then it performs the assignment *i
= new_value.