[#BloombergLP-baltzo-swap-09f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::swap :relfileprefix: ../../ :mrdocs: `swap` overloads == Synopses Declared in `<baltzo_localdatetime.h>` Exchange the values of the specified `a` and `b` objects. This function provides the no‐throw exception‐safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/baltzo/swap-02.adoc[swap]( xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime]& a, xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime]& b); ---- [.small]#xref:BloombergLP/baltzo/swap-02.adoc[_» more..._]# Exchange the values of the specified `a` and `b` objects. This function provides the no‐throw exception‐safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/baltzo/swap-01.adoc[swap]( xref:BloombergLP/baltzo/LocalTimeDescriptor.adoc[LocalTimeDescriptor]& a, xref:BloombergLP/baltzo/LocalTimeDescriptor.adoc[LocalTimeDescriptor]& b); ---- [.small]#xref:BloombergLP/baltzo/swap-01.adoc[_» more..._]# Exchange the values of the specified `a` and `b` objects. This function provides the no‐throw exception‐safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/baltzo/swap-0c.adoc[swap]( xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod]& a, xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod]& b); ---- [.small]#xref:BloombergLP/baltzo/swap-0c.adoc[_» more..._]# Exchange the values of the specified `a` and `b` objects. This function provides the no‐throw exception‐safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/baltzo/swap-096.adoc[swap]( xref:BloombergLP/baltzo/Zoneinfo.adoc[Zoneinfo]& a, xref:BloombergLP/baltzo/Zoneinfo.adoc[Zoneinfo]& b); ---- [.small]#xref:BloombergLP/baltzo/swap-096.adoc[_» more..._]# Efficiently exchange the values of the specified `a` and `b` objects. This function provides the no‐throw exception‐safety guarantee. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/baltzo/swap-0a.adoc[swap]( xref:BloombergLP/baltzo/ZoneinfoBinaryHeader.adoc[baltzo::ZoneinfoBinaryHeader]& a, xref:BloombergLP/baltzo/ZoneinfoBinaryHeader.adoc[baltzo::ZoneinfoBinaryHeader]& b); ---- [.small]#xref:BloombergLP/baltzo/swap-0a.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#