O'Reilly logo

Extended STL, Volume 1: Collections and Iterators by Matthew Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. The Standard Template Library

 

So far, C++ is the best language I’ve discovered to say what I want to say.

 
 --Alexander Stepanov
 

Every revolution is unthinkable beforehand, and obvious afterwards.

 
 --Kevin Bealer

Writing an introduction to the Standard Template Library (STL) would be a book in itself, and that’s not the book I’m writing. There are several such books (some listed in the Bibliography), and I recommend that you have at least one of them in your head, or at hand, before you start reading this one.

Core Concepts

The STL is based around six core concepts: containers, iterators, algorithms, function objects, adaptors, and allocators. Containers store objects. An iterator is a data-structure-independent abstraction used to access ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required