What do you think?


The C++ Standard Library: A Tutorial and Reference
Now Updated for C++11
The C++ standard library provides a set of common classes and interfaces that greatly extend the core C++ language. The library, however, is not self-explanatory. To make full use of its components–and to benefit from their power–you need a resource that does far more than list the classes and their functions.
The C++ Standard Library: A Tutorial and Reference, Second Edition, describes this library as now incorporated into the new ANSI/ISO C++ language standard (C++11). The book provides comprehensive documentation of each library component, including an introduction to its purpose and design; clearly written explanations of complex concepts; the practical programming details needed for effective use; traps and pitfalls; the exact signature and definition of the most important classes and functions; and numerous examples of working code. The book focuses in particular on the Standard Template Library (STL), examining containers, iterators, function objects, and STL algorithms.
The book covers all the new C++11 library components, including
Concurrency
Fractional arithmetic
Clocks and timers
Tuples
New STL containers
New STL algorithms
New smart pointers
New locale facets
Random numbers and distributions
Type traits and utilities
Regular expressions
The book also examines the new C++ programming style and its effect on the standard library, including lambdas, range-based for loops, move semantics, and variadic templates.
The C++ standard library provides a set of common classes and interfaces that greatly extend the core C++ language. The library, however, is not self-explanatory. To make full use of its components–and to benefit from their power–you need a resource that does far more than list the classes and their functions.
The C++ Standard Library: A Tutorial and Reference, Second Edition, describes this library as now incorporated into the new ANSI/ISO C++ language standard (C++11). The book provides comprehensive documentation of each library component, including an introduction to its purpose and design; clearly written explanations of complex concepts; the practical programming details needed for effective use; traps and pitfalls; the exact signature and definition of the most important classes and functions; and numerous examples of working code. The book focuses in particular on the Standard Template Library (STL), examining containers, iterators, function objects, and STL algorithms.
The book covers all the new C++11 library components, including
Concurrency
Fractional arithmetic
Clocks and timers
Tuples
New STL containers
New STL algorithms
New smart pointers
New locale facets
Random numbers and distributions
Type traits and utilities
Regular expressions
The book also examines the new C++ programming style and its effect on the standard library, including lambdas, range-based for loops, move semantics, and variadic templates.
2701 pages, Kindle Edition
First published August 12, 1999
Ratings & Reviews
Friends & Following
Create a free account to discover what your friends think of this book!
Community Reviews
Displaying 1 - 24 of 24 reviews
April 9, 2010
This is a must-have reference for C++ programmers. Although it's labeled a tutorial, it should not be considered an introductory text. It assumes you already know C++ pretty well. However, it is an introduction to the Standard Template Library (STL), which anyone doing a lot of C++ programming should become familiar with. This very large, comprehensive book lists every class and method in the STL in a very well organized fashion, and gives ample examples for using them.
January 2, 2016
I purchased this book to learn how C++ library-based programming is done in the real world, not in the classroom where we must reinvent the wheel for every project.
I was skeptical when I read the other reviews, but I am extremely impressed with this book. I have not had the chance to sit down and read the book cover to cover yet. However, I have cracked it open a few times when I've gotten stuck, and have been amazed that I have been able to quickly and effortlessly find clear, concise, and thorough answers to every STL question that I've had.
The book is extremely well written: it's well structured, well indexed, and easy to digest. Extremely cost effective.
I was skeptical when I read the other reviews, but I am extremely impressed with this book. I have not had the chance to sit down and read the book cover to cover yet. However, I have cracked it open a few times when I've gotten stuck, and have been amazed that I have been able to quickly and effortlessly find clear, concise, and thorough answers to every STL question that I've had.
The book is extremely well written: it's well structured, well indexed, and easy to digest. Extremely cost effective.
Want to Read
August 10, 2012the current selection for the reading group at work. updated for c++11.
November 17, 2021
"The book" for C++ standard library; works both as a tutorial and a reference. Examples and explanations are clear and concise. One of the best programming books I've ever read.
September 22, 2023
Nice book!
I read it a long time ago. My first book about C++, if I remember correctly. This one is in particular about the standard library in that language.
I just remembered about it recently when reading about something else. Nostalgia.
If you plan to learn about C++, better pick one of the newer books. This one is likely outdated at this point.
I read it a long time ago. My first book about C++, if I remember correctly. This one is in particular about the standard library in that language.
I just remembered about it recently when reading about something else. Nostalgia.
If you plan to learn about C++, better pick one of the newer books. This one is likely outdated at this point.
April 13, 2026
Incredibly thorough and well-written. My physical copy is starting to show wear from how much it is used. Not just a reference, but shows how and why you would want to use specific interfaces – and alternatives you might want to consider.
October 9, 2017
Thick as a usual C++ book, this one presents STL in a comprehensive way. As the title suggests, it shows how to use it and lists all the things in it.
February 13, 2018
very good reference book!
March 12, 2023
A kind of bible for C++ developers
October 26, 2012
http://chchwy.blogspot.com/2011/08/c-...
Effective C++������������������������C++��������������������������� ������������������������������������������������������ C��� ������������C++���Template C++������������������ STL��������������������������������������������������������������������� C++���������������������������������������������������������������������������������������������������������C++������������������: Template C++������ STL ������������������������������������������������
STL ������������������������������������������������������������ cplusplus.com��������������������������������������� STL ���������������������������������������������������������������STL������������������������������������������������ STL������������������������������������������������������������������������ STL algorithm ��������������������������������������� STL algorithms ��������� function object ��������������������������� Iterator ������������������������������������������������������������
������������������������������������������������������������������������������ STL ������������������������������: Container ���������������������������Algorithm ��������������������� Iterator ��������������������������������������������������������������������������������������������������������������������������������������� STL ������������������������������������Q��������������� ~ ������������������������������������������Container���Iterator���Algorithm ���������������������������
��������� Function Object ��������������������������������������������������������� function object ������������������������������ (��������������������������������������������� object ������operator( ) ������������������������������ )������������������������STL Algorithm��������������������� function object ���������������function object���STL Algorithms ������������������������������������������������������������C++������������������������������������I/O���������������������������
������������������������������������������������������������������������������������������ STL ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������STL������������������������������������������a Tutorial and Reference������������������������������������������������������������ reference ������������������������������������
������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Effective C++������������������������C++��������������������������� ������������������������������������������������������ C��� ������������C++���Template C++������������������ STL��������������������������������������������������������������������� C++���������������������������������������������������������������������������������������������������������C++������������������: Template C++������ STL ������������������������������������������������
STL ������������������������������������������������������������ cplusplus.com��������������������������������������� STL ���������������������������������������������������������������STL������������������������������������������������ STL������������������������������������������������������������������������ STL algorithm ��������������������������������������� STL algorithms ��������� function object ��������������������������� Iterator ������������������������������������������������������������
������������������������������������������������������������������������������ STL ������������������������������: Container ���������������������������Algorithm ��������������������� Iterator ��������������������������������������������������������������������������������������������������������������������������������������� STL ������������������������������������Q��������������� ~ ������������������������������������������Container���Iterator���Algorithm ���������������������������
��������� Function Object ��������������������������������������������������������� function object ������������������������������ (��������������������������������������������� object ������operator( ) ������������������������������ )������������������������STL Algorithm��������������������� function object ���������������function object���STL Algorithms ������������������������������������������������������������C++������������������������������������I/O���������������������������
������������������������������������������������������������������������������������������ STL ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������STL������������������������������������������a Tutorial and Reference������������������������������������������������������������ reference ������������������������������������
������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
June 15, 2012
Why is it Russians know so much about C++? It's one of those difficulty to explain but self evident truths about the world.
If you are a for real C++ programmer, you need this book. This book has tutorials how on to use most elements of the standard library, which is nice, but more importantly it explains how and why the different parts of the library fit together. Understanding the relationship between iterators, containers, and algorithms is crucial.
That said, this book really needs an update to cover all the stuff added into the library in C++11.
If you are a for real C++ programmer, you need this book. This book has tutorials how on to use most elements of the standard library, which is nice, but more importantly it explains how and why the different parts of the library fit together. Understanding the relationship between iterators, containers, and algorithms is crucial.
That said, this book really needs an update to cover all the stuff added into the library in C++11.
December 20, 2012
Great resource for STL! Lot of examples, full explanation of every hidden detail about the C++ standard template library.
The reference parts of each chapter is little boring, but it's possible to skip them, without losing the important notions (but i recommend to read all parts of the book).
Ok with c++11 new features, explained very well with classes and real code. I'd like more info and examples on concurrency, so I will go looking for a detailed book about it.
The reference parts of each chapter is little boring, but it's possible to skip them, without losing the important notions (but i recommend to read all parts of the book).
Ok with c++11 new features, explained very well with classes and real code. I'd like more info and examples on concurrency, so I will go looking for a detailed book about it.
October 25, 2012
Very cleanly organized, covers all the basics and advanced topics, nice index. I like how the methods on each class are presented in tables throughout the chapters, but since they discuss groups of methods in different sections, not all the methods appear in one table, which is a con.
September 2, 2008
perfect guide for using the C++ standard template library
September 28, 2012
This was our bible for years.
October 17, 2012
Good reference for all the new C++11 features.
May 29, 2013
Worked very well as a reference.
September 21, 2013
One of my most worn references
January 4, 2015
Indispensable for a C++ programmer.
I teach C++ programming, and I refer my students to this book continually.
I teach C++ programming, and I refer my students to this book continually.
Want to Read
January 21, 2015I want to read.
March 27, 2015
Great as prev edition
September 15, 2015
Not to be read from cover to cover.
January 25, 2016
This surely a must-read for any C++ programmer! Enough said.
Read
June 17, 2016Recommended by Anders Forsberg as a good book for understanding the standard library and also to use as a reference.
Displaying 1 - 24 of 24 reviews


















