[#util-Expected-0b-swap]
= xref:util.adoc[util]::xref:util/Expected-0b.adoc[Expected]::swap
:relfileprefix: ../../
:mrdocs:

Swap contents with another Expected&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The instance to swap with&period;
|===


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