[#bitset_detail-swap-05]
= xref:bitset_detail.adoc[bitset&lowbar;detail]::swap
:relfileprefix: ../
:mrdocs:

Swap two bitsets&period;

== Synopses

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

Swap two bitsets&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
void
xref:bitset_detail/swap-0d.adoc[swap](
    xref:bitset_detail/IntBitSet.adoc[IntBitSet]& a,
    xref:bitset_detail/IntBitSet.adoc[IntBitSet]& b) noexcept;
----

[.small]#xref:bitset_detail/swap-0d.adoc[_» more&period;&period;&period;_]#

Swap two bitsets&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
void
xref:bitset_detail/swap-06.adoc[swap](
    xref:bitset_detail/MultiIntBitSet.adoc[MultiIntBitSet]& a,
    xref:bitset_detail/MultiIntBitSet.adoc[MultiIntBitSet]& b) noexcept;
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The first bitset&period;
| *b*
| The second bitset&period;
|===


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