News

Part 2 - Deep Copy. Change the copy constructor so that it creates a deep copy of the list. Use your test program from Part 1 to satisfy yourself that the copy constructor is making a deep copy (i.e.
By default unions only destruct trivial/POD types, and the types you're using have non-trivial destructors. For this to work you need to explicitly run the right destructor based on type - C++ won ...