Dela via


iter_swap (STL/CLR)

Exchanges two values referred to by a pair of specified iterators.

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

See Also

Reference

algorithm (STL/CLR)