Partager via


swap_ranges (STL/CLR)

Exchanges the elements of one range with the elements of another, equal sized range.

template<class _FwdIt1, class _FwdIt2> inline
    _FwdIt2 swap_ranges(_FwdIt1 _First1, _FwdIt1 _Last1,
        _FwdIt2 _First2);

Remarks

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

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

Reference

algorithm (STL/CLR)