[#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&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;

== Synopses

Declared in `&lt;bdlt&lowbar;calendar&period;h&gt;`

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;


[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&period;&period;&period;_]#

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;


[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&period;&period;&period;_]#

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;


[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&period;&period;&period;_]#


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