17

CHAPTER

Overview of Standard Template Library (STL)

CHAPTEROUTLINE —•    17.1 Introduction to STL
—•    17.2 STL Programming Model
—•    17.3 Containers
—•    17.4 Sequence Containers
—•    17.5 Associative Containers
—•    17.6 Algorithms
—•    17.7 Iterators
—•    17.8 Vector
—•    17.9 List
—•  17.10 Maps
—•  17.11 Function Objects

 

 

17.1 INTRODUCTION TO STL

We have studied templates, which allow us to do generic programming. Generic functions or classes support all data types. The Standard Template Library is an advanced application of templates. It contains several in-built functions and operators that help the programmer to develop complex programs. The programmer only needs to include appropriate header ...

Get Object-Oriented Programming with ANSI and Turbo C++ 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.