swap

Swaps the data of one argument with the other argument.

  template <class T, class Allocator> void swap
  (vector<T,Allocator>& x, vector<T,Allocator>& y);