[#absl-Cord-swap] = xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::swap :relfileprefix: ../../ :mrdocs: Swaps the contents of the Cord with `other`. == Synopsis Declared in `<absl/strings/cord.h>` [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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#