[#absl-Cord-swap]
= xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::swap
:relfileprefix: ../../
:mrdocs:

Swaps the contents of the Cord with `other`&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;cord&period;h&gt;`

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

== Parameters

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


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