3.6. Mix and Match Nirvana

C++ programmers really aren't limited to an all or nothing decision. Generics are available to C++ programmers as part of the .NET Framework and, as such, you really have the opportunity to leverage any mix of templates and generics that you deem appropriate. In fact, Chapter 12, "Using Generics with C++," discusses how you can use generics with C++. To me, this makes most of the discussions of pros and cons moot.

Get Professional .NET 2.0 Generics 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.