iter_swap (STL/CLR)
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 iter_swap (STL/CLR).
Exchanges two values referred to by a pair of specified iterators.
Syntax
template<class _FwdIt1, class _FwdIt2> inline
void iter_swap(_FwdIt1 _Left, _FwdIt2 _Right);
Remarks
This function behaves the same as the STL function iter_swap
. For more information, see iter_swap.
Requirements
Header: <cliext/algorithm>
Namespace: cliext