1.5.3.15 Replacing


replace(f,f,&,&)
replace_if(f,f,upred,&)

Replace, within a range of values, one specified value(satisfies a predicate) with another value.



replace_copy(i,i,o,&,&)
replace_copy_if(i,i,o,upred,&)

Copy replacing one specified value with another specified value.