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

Set `&ast;this` to refer to the stop state (or lack thereof) that the specified `other` referred to, and vice versa&period; Equivalent to `swap(&ast;this, 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;
----


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