23 Containers library [containers]

23.3 Sequence containers [sequences]

23.3.3 Class template deque [deque]

23.3.3.5 deque specialized algorithms [deque.special]

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

Effects:

x.swap(y);