23 Containers library [containers]

23.6 Container adaptors [container.adaptors]

23.6.3 Class template queue [queue]

23.6.3.5 queue specialized algorithms [queue.special]

template <class T, class Container> void swap(queue<T, Container>& x, queue<T, Container>& y) noexcept(noexcept(x.swap(y)));

Effects: x.swap(y).