Description
replace() replaces specified element values in a sequence with other specified values.
Declaration
template <class For, class T> void replace(For, For, const T&, const T&);
Concept
The sample program initializes an integer array, and then replaces the value 3 with the value 17 throughout the array.
Supported
Supported
Supported