119
C++ Algorithm iter_swap()
C++ Algorithm iter_swap() exchanges the elements pointed to by two iterators a and b.
Syntax
Parameter
a: One of the forward iterator whose value is to be exchanged.
b: Second of the forward iterator whose value is to be exchanged.
Return value
None