Syntax:
#include <algorithm> void iter_swap( forward_iterator a, forward_iterator b );
A call to iter_swap() exchanges the values of two elements exactly as a call to
swap( *a, *b );
would.
Related Topics: swap, swap_ranges