Learn how STL containers separate the implementation of their memory allocations from the details of the underlying physical memory management by using so-called allocators.
Latest Standard Template Library (STL) Articles - Page 3
Avoid confusion and learn how to make an array that has different data types or, more appropriately, an array of objects of different classes.
Learn why you shouldn't inherit from an STL class. More importantly, learn about the Final class and why it is needed.
This tutorial is meant to help beginning and intermediate C++ programmers get a grip on the standard template class. (The article was updated.)
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
It's essential to know the differences in these libraries and use them correctly. This brief tutorial will guide you.
With facilities to search, copy, extract segments, and more, the array class can handle pretty much any task you need to perform with ease.
Enhance your development skills and make your users' lives easier.
If you have written solid code, you have accomplished one half of the objective. Solid code is the protagonist, or hero, of our story, but testing is the more sedate side kick that often saves the day after the hubris of the hero has almost certainly lead to calamity.