Swap the value of the specified lhs queue with the value of the specified rhs queue.
Declared in <bslstl_queue.h>
template<
class VALUE,
class CONTAINER>
void
swap(
queue<VALUE, CONTAINER>& lhs,
queue<VALUE, CONTAINER>& rhs) noexcept(false);