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

Swaps the contents of two Cords&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]& x,
    xref:absl/Cord.adoc[Cord]& y) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| The first Cord&period;
| *y*
| The second Cord&period;
|===


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