Efficiently exchange the value of this object with the value of the specified other object. In effect, performs using bsl::swap; swap(c, other.c);.
Synopsis
Declared in <bslstl_queue.h>
void
swap(queue& other) noexcept(/* see-below */);
Exception specification
This function is potentially-throwing unless bsl::is_nothrow_swappable<CONTAINER>::value.
Created with MrDocs