26.1 — Template classes

In a previous chapter, we covered function templates (), which allow us to generalize functions to work with many different data types. While this is a great start down the road to generalized programming, it doesn’t solve all of our problems. Let’s take a look at an example of one …