Chapter 3
Building Original Templates
In This Chapter
Determining when to create a template
Understanding the elements of good template design
Developing a basic math template
Creating a structure template
Defining a class template
Using template specialization to your advantage
Building a library of templates
Using your custom built template libraries
C++ has been around for many years. Because of its longevity, C++ templates abound. In fact, it may seem that there is a template for every practical purpose. However, the templates that are available to the developer community through standardized and third-party resources usually reflect generalized needs. The individual company you ...
Get C++ All-in-One For Dummies, 3rd 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.