Поделиться через


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);

Remarks

This function behaves the same as the STL function replace. For more information, see replace.

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

Reference

algorithm (STL/CLR)