[#bsl-stop_source-swap]
= xref:bsl.adoc[bsl]::xref:bsl/stop_source.adoc[stop&lowbar;source]::swap
:relfileprefix: ../../
:mrdocs:

Exchange the stop states referred to by `&ast;this` and `other`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;stoptoken&period;h&gt;`

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

== Description

Equivalent to `swap(&ast;this, other)`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| source with which to exchange stop states
|===


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