
Lesson 16-2: Generic Data Types
Templates, Operator Overloading, and Exceptions | 415
Name __________________________________________ Date _______________________
Section _________________________________________
Exercise 1: Complete the implementation file for the SortedList class template in Prelab
Exercise 1. Class SortedList was used in Lesson13-3. Can the function bodies written for that
lesson be used here? Explain.
Exercise 2: Exercise 2 in Lesson 13-3 asked you to write a driver. How must you change that
driver to execute with SortedList as written in Exercise 1?
Exercise 3: Make the changes outlined in Exercise 2 and run your program with ...