iter_swap « STL Algorithms Modifying sequence operations « C++ Tutorial






24.5.iter_swap
24.5.1.Use iterators to swap elements at locations 0 and 1 of an array
24.5.2.Swap first and second value with iter_swap