Efficiently exchange the value of this object with other.
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);.
This function is potentially-throwing unless bsl::is_nothrow_swappable<CONTAINER>::value.
| Name | Description |
|---|---|
| other | queue with which to exchange values |