Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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);
Remarks
This function behaves the same as the STL function replace. For more information, see replace.
Requirements
Header: <cliext/algorithm>
Namespace: cliext