Skip to Content
Navigating C++ and Object-Oriented Design
book

Navigating C++ and Object-Oriented Design

by Paul Anderson, Gail Anderson
October 1997
Intermediate to advanced
800 pages
20h 48m
English
Pearson
Content preview from Navigating C++ and Object-Oriented Design

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Exploring C++20: The Programmer's Introduction to C++

Exploring C++20: The Programmer's Introduction to C++

Ray Lischner

Publisher Resources

ISBN: 0135327482Purchase book