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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.