First page Back Continue Last page Graphics
Templates
Templates are used when we want to do “the same thing” to different types.
Previously we only mentioned Function templates. In a while (chapter 14) we will cover Class templates.
For now, I'll just assume I'm stacking integers and build a specific class intStack.