Take another look at the Truckload class from Ex13_11. Isn’t there an operator missing? The class has two raw pointers called m_head and m_tail. What will the default copy assignment operator do with...


Take another look at the Truckload class from Ex13_11. Isn’t there an operator missing? The class has two raw pointers called m_head and m_tail. What will the default copy assignment operator do with these two raw pointers? Mend the assignment for the Truckload class and modify the main() function to exercise your freshly written operator. Does self-assignment work?




May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here