CIS 22B
Assignment Optional Extra Credit 2

Use the style guide, including Additonal styles beginning with Assignment D.

In Problem Optional Extra Credit 2 we will use a template for the Node class.

Problem Optional Extra Credit 2

Copy the solution from problem F1 and make the name OEC2.
Change the Node class to be a template class.
In the Node class change the Car * pointer to a T * pointer where T is the template generated type.

Everywhere that Node is used in the StringOfCars data and functions, change it to Node<Car>

Use the same tests as in problem F1.