15.5 STANDARD TEMPLATE LIBRARY

The concept of template is very useful. Hence, all compiler writers provide their users with what is called as standard template library. It contains implementations of many useful abstract data types (ADT). Programmers have to simply use these data types and related functions. One does not have to change even one line. We will be discussing STL in detail in Chapter 19 “Advanced Topics from ANSI/ISO C++”; in the same chapter we will also be discussing class string. It is entirely based on templates.

Get Object Oriented Programming with C++, Second 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.