[#BloombergLP-bdlt-swap-01b] = 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. == Synopsis Declared in `<bdlt_calendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap( xref:BloombergLP/bdlt/Calendar.adoc[Calendar]& a, xref:BloombergLP/bdlt/Calendar.adoc[Calendar]& b); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#