共用方式為


remove_copy (STL/CLR)

複製來源範圍的項目到目的範圍,不過,特定值的元素不會複製,不會干擾其他項目的順序和傳回新的目的範圍的結尾。

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

備註

這個函式的行為與 STL 函式 remove_copy 相同。 如需詳細資訊,請參閱remove_copy

需求

標頭: <cliext/algorithm>

命名空間: cliext

請參閱

參考

algorithm (STL/CLR)