[#swap-05]
= swap
:mrdocs:

`swap` overloads

== Synopses

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

Swap two FeeFracs&period;


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

[.small]#xref:swap-02.adoc[_» more&period;&period;&period;_]#

Non&hyphen;member version of swap&period;


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

[.small]#xref:swap-01.adoc[_» more&period;&period;&period;_]#

Exchange the contents of two containers&period;


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

[.small]#xref:swap-06.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The first FeeFrac to swap&period;
| *b*
| The second FeeFrac to swap&period;
| *b1*
| First container to swap&period;
| *b2*
| Second container to swap&period;
|===


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