16

Templates, Operator Overloading, and Exceptions

KNOWLEDGE GOALS

Image  To understand the concept of a template.

Image  To know what a generic operation is.

Image  To understand the concept of an exception.

SKILL GOALS

To be able to:

Image  Write a C++ class template.

  Code the instantiation of a class template.

  Write function definitions for members of a template ...

Get Programming and Problem Solving with C++: Comprehensive, 6th Edition now with O’Reilly online learning.

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