CHAPTER 12An Introduction to theSTL/CLR Library

The Standard Template Library (STL) is commonly used by C++ programmers and for good reason. It has many advantages over comparable libraries, such as the .NET Framework collections; it provides users with certain guarantees regarding the performance of the algorithms; and it separates algorithms from data. A new library, STL/CLR, brings these advantages to the managed code developer and presents an alternative to the .NET Framework collection classes, such as List, Dictionary, and so on. STL/CLR is a reimplementation of STL for C++/CLI, but it adds some additional functionality as well to make it easier to interoperate with .NET collections.

If you already know about the STL library, you can probably ...

Get Foundations of C++/CLI: The Visual C++ Language for .NET 3.5 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.