Exchange the values of a and b.

Synopsis

Declared in <bdlt_timetable.h>

void
swap(
    Timetable& a,
    Timetable& b);

Description

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.

Parameters

Name

Description

a

first timetable

b

second timetable

Created with MrDocs