[#VecDeque-swap]
= xref:VecDeque.adoc[VecDeque]::swap
:relfileprefix: ../
:mrdocs:

Swap two deques&period;

== Synopsis

Declared in `&lt;util&sol;vecdeque&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
swap(xref:VecDeque.adoc[VecDeque]& other) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The deque to exchange contents with&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
