replace (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 (STL/CLR).
Examines each element in a range and replaces it if it matches a specified value.
template<class _FwdIt, class _Ty> inline
void replace(_FwdIt _First, _FwdIt _Last,
const _Ty% _Oldval, const _Ty% _Newval);
This function behaves the same as the STL function replace. For more information, see replace.
Header: <cliext/algorithm>
Namespace: cliext
Show: