#include #include #include "employee.h" using namespace std; int main() { const date birthday(date::july, 12, 1955); //the author's birthday const employee e1(birthday, 123456789); e1.print(); cout << "\n"; const employee e2(date::may, 1, 1957, 987654321); e2.print(); cout << "\n\n"; cout << "The second employee will retire on "; const date r = e2.retire(); r.print(); cout << ".\n"; cout << "The second employee will retire on "; e2.retire().print(); //and then destruct the anonymous date cout << ".\n\n"; return EXIT_SUCCESS; //destruct r, e2, e1, birthday, in that order }