Swaps the element at one position with another.
template <class T, class Allocator> void swap (deque<T,Allocator>& x,deque<T,Allocator>& y);