18. Introduction to Custom Templates

Objectives

In this chapter you’ll:

• Use class templates to create groups of related classes.

• Distinguish between class templates and class-template specializations.

• Learn about nontype template parameters.

• Learn about default template arguments.

• Learn about overloading function templates.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.