[#BloombergLP-bslfmt-swap]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::swap
:relfileprefix: ../../
:mrdocs:

Exchange the values of the specified `lhs` and `rhs`&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;format&lowbar;arg&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
swap(
    xref:BloombergLP/bslfmt/basic_format_arg-05.adoc[basic&lowbar;format&lowbar;arg]& lhs,
    xref:BloombergLP/bslfmt/basic_format_arg-05.adoc[basic&lowbar;format&lowbar;arg]& rhs);
----


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