cpp/algorithm/replace

Replaces all elements satisfying specific criteria with in the range.

@1@ Replaces all elements that are equal to (using ). @3@ Replaces all elements for which predicate returns. @2,4@ Same as, but executed according to.

Return value
(none)

Complexity
Given as : @1,2@ exactly comparisons with  using @3,4@ exactly applications of the predicate