共用方式為


remove_copy (STL/CLR)

Copies elements from a source range to a destination range, except that elements of a specified value are not copied, without disturbing the order of the remaining elements and returning the end of a new destination range.

template<class _InIt, class _OutIt, class _Ty> inline
    _OutIt remove_copy(_InIt _First, _InIt _Last,
        _OutIt _Dest, const _Ty% _Val);

Remarks

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

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

Concepts

algorithm (STL/CLR)