#include #include #include "date.h" #include "swap.h" using namespace std; int main() { int i {10}; int j {20}; ::swap(i, j); cout << "i = " << i << ", j = " << j << "\n"; double d {3.14}; double e {2.71}; ::swap(d, e); cout << "d = " << d << ", e = " << e << "\n"; date today; date tomorrow {today + 1}; ::swap(today, tomorrow); cout << "today = " << today << ", tomorrow = " << tomorrow << "\n"; return EXIT_SUCCESS; }