[#BloombergLP-bdlt-swap-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::swap :relfileprefix: ../../ :mrdocs: 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. == Synopses Declared in `<bdlt_calendar.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/bdlt/swap-01b.adoc[swap]( xref:BloombergLP/bdlt/Calendar.adoc[Calendar]& a, xref:BloombergLP/bdlt/Calendar.adoc[Calendar]& b); ---- [.small]#xref:BloombergLP/bdlt/swap-01b.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/bdlt/swap-010.adoc[swap]( xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]& a, xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]& b); ---- [.small]#xref:BloombergLP/bdlt/swap-010.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/bdlt/swap-0f.adoc[swap]( xref:BloombergLP/bdlt/Timetable.adoc[Timetable]& a, xref:BloombergLP/bdlt/Timetable.adoc[Timetable]& b); ---- [.small]#xref:BloombergLP/bdlt/swap-0f.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#