[#swap-06]
= swap
:mrdocs:

Exchange the contents of two containers&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b1*
| First container to swap&period;
| *b2*
| Second container to swap&period;
|===


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