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

Exchange the values of the specified `a` and `b` objects&period; This function provides the no&hyphen;throw exception&hyphen;safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise&period;

== Synopsis

Declared in `&lt;baltzo&lowbar;localtimedescriptor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
swap(
    xref:BloombergLP/baltzo/LocalTimeDescriptor.adoc[LocalTimeDescriptor]& a,
    xref:BloombergLP/baltzo/LocalTimeDescriptor.adoc[LocalTimeDescriptor]& b);
----


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