Chapter 17. Templates: Yet Another Design Tool
Topics in this Chapter
The remaining two chapters of this book will deal with advanced C++ programming topics: programming with templates and programming with exceptions.
Usually, container classes and processing algorithms (sorting, searching, etc.) should be designed for a specific type of component. If the container contains a set of integers, you cannot use this container to store, for example, account objects. If a function sorts an array of integer values, you ...
Get Core C++ A Software Engineering Approach 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.