[#BloombergLP-bdlt-swap-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::swap
:relfileprefix: ../../
:mrdocs:

`swap` overloads

== Synopses

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

Exchange the values of the specified `a` and `b` objects&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;


[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 `a` and `b`&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;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| first calendar to exchange
| *b*
| second calendar to exchange
|===


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