Generic Programming and Templates
Lesson Objectives
By the end of this chapter, you will be able to:
- Understand how templates work and when to use them
- Identify and implement templated functions
- Implement template classes
- Write code that works for multiple types
In this chapter, you will learn how to use templates effectively in your program.