[#util-Expected-0b-swap] = xref:util.adoc[util]::xref:util/Expected-0b.adoc[Expected]::swap :relfileprefix: ../../ :mrdocs: Swap contents with another Expected. == Synopsis Declared in `<util/expected.h>` [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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#