Skip to Main Content
C++ Programming
book

C++ Programming

by Yuan Dong, Fang Yang, Li Zheng, Tsinghua University Tsinghua University Press
February 2019
Beginner content levelBeginner
504 pages
14h 34m
English
De Gruyter
Content preview from C++ Programming

10Generic Programming and the Standard Template Library

In Chapter 9, we introduced several basic collections and related algorithms. There are many other types of commonly used collections and complex algorithms. The study of these issues is the subject of data structure. It is not necessary for programmers to develop every class and algorithm from scratch. In fact, the standardization and modulization of commonly used algorithms are the keys to fast software production. To achieve this, we need to use not only concepts from object-oriented programs but also those from generic programming. The Standard Template Library (STL) in C++ is a good example of integrating these two concepts.

In this chapter we introduce the concepts, the structures, ...

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

Mastering C++ Programming

Mastering C++ Programming

Jeganathan Swaminathan

Publisher Resources

ISBN: 9783110470666