Chapter 22. Standard Template Library (STL)
The shapes a bright container can contain! | ||
--Theodore Roethke |
Journey over all the universe in a map. | ||
--Miguel de Cervantes |
O! thou hast damnable iteration, and art indeed able to corrupt a saint. | ||
--William Shakespeare |
That great dust heap called “history.” | ||
--Augustine Birrell |
The historian is a prophet in reverse. | ||
--Friedrich von Schlegel |
Attempt the end, and never stand to doubt; Nothing’s so hard but search will find it out. | ||
--Robert Herrick |
OBJECTIVES
In this chapter you’ll learn:
To be able to use the STL containers, container adapters and “near containers.”
To be able to program with the dozens of STL algorithms.
To understand how algorithms use iterators to access the elements of STL containers. ...
Get C++ How to Program, Sixth 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.