O'Reilly logo

Navigating C++ and Object-Oriented Design by Gail Anderson, Paul Anderson

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

B.2. STL Overview

STL includes template container classes for storing objects, template iterator classes for accessing objects within containers, and generic algorithms that manipulate objects through iterators. Figure B.1 depicts these three major components.

Figure B.1. STL component overview

The bottom half of Figure B.1 is a more detailed description of the three components in the top half. In both parts of the diagram, iterators are shown in the middle, providing a “plug compatible” connector between containers and algorithms. For example, container list is plug-compatible with bidirectional iterators (and all iterators “below” it). Generic ...

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