replace_copy (STL/CLR)
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at replace_copy (STL/CLR).
Examines each element in a source range and replaces it if it matches a specified value while copying the result into a new destination range.
template<class _InIt, class _OutIt, class _Ty> inline
_OutIt replace_copy(_InIt _First, _InIt _Last, _OutIt _Dest,
const _Ty% _Oldval, const _Ty% _Newval);
This function behaves the same as the STL function replace_copy. For more information, see replace_copy.
Header: <cliext/algorithm>
Namespace: cliext
Show: