Compartilhar via


replace_if (STL/CLR)

Examines each element in a range and replaces it if it satisfies a specified predicate.

template<class _FwdIt, class _Pr, class _Ty> inline
    void replace_if(_FwdIt _First, _FwdIt _Last, _Pr _Pred,
        const _Ty% _Val);

Remarks

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

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

Reference

algorithm (STL/CLR)