swap_ranges (STL/CLR)
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at 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);
This function behaves the same as the STL function swap_ranges. For more information, see swap_ranges.
Header: <cliext/algorithm>
Namespace: cliext
Show: