cppreference.com > C++ Algorithms > iter_swap
iter_swap
Syntax:
  #include <algorithm>
  inline void iter_swap( iterator a, iterator b );

A call to iter_swap() exchanges the values of two elements exactly as a call to

 swap( *a, *b );		
		

would.