[#bsl-swap-020] = xref:bsl.adoc[bsl]::swap :relfileprefix: ../ :mrdocs: Swap the value of the specified `lhs` queue with the value of the specified `rhs` queue. == Synopsis Declared in `<bslstl_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE, class CONTAINER> void swap( xref:bsl/queue-0a5.adoc[queue<VALUE, CONTAINER>]& lhs, xref:bsl/queue-0a5.adoc[queue<VALUE, CONTAINER>]& rhs) noexcept(false); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#