Lesson 15. An Introduction to the Standard Template Library
Put in simple terms, the standard template library (STL) is a set of template classes and functions that supply the programmer with
• Containers for storing information
• Iterators for accessing the information stored
• Algorithms for manipulating the content of the containers
In this lesson, you get overview on these three pillars of STL.
STL Containers
Containers are STL classes that are used to store data. STL supplies two types of container classes:
• Sequential containers
• Associative containers
In addition to these STL also provides classes called Container Adapters that are variants of the same with reduced functionality which support a specific purpose.
Sequential Containers ...
Get Sams Teach Yourself C++ in One Hour a Day, Seventh Edition 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.