swap

Swaps the first argument with the second argument.

  template <class Key, class Compare,class Allocator>
  void swap
  (set<Key,Compare,Allocator>& x,
  set<Key,Compare,Allocator>& y);