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.
a
b
Declared in <bdlt_calendar.h>
<bdlt_calendar.h>
void swap( Calendar& a, Calendar& b);