• replace_if() replaces each element in the range [beg,end) for which the unary predicate op(elem) yields true with newValue. • Note that op should not change its state during a function call. See Section 10.1.4, page 483, for details. • Complexity: linear (numElems comparisons or calls of op(), respectively). The following program demonstrates some examples of the use of replace() and replace_if