Channels ▼

C++ Reading List

, May 28, 2013 The new C++11 standard has led to a flood of new books and updates to classics. These are the core books you need.
  • E-mail
  • Print

The C++ Standard Library, 2nd Edition

by Nicolai Josuttis

This is a second edition of the classic tutorial and reference on the C++ Standard library, updated for C++11. Unlike many books that cover libraries and APIs, this is not a glorified explanation of a bunch of function calls. Rather, it breaks the standard library (mostly the STL) into sensible subsections and explains the fundamental approaches taken in the design of the components treated in the section. Only then does the author get into the APIs in detail, ending with a summary of all the other methods that might be useful, accompanied by short explanations. The section on containers is a masterpiece of explanation of design, internals, application, and comparison between the various choices.

The discussions are cogent, clear, and remarkably informative. For example, the chapter on STL function objects and lambdas spends 12 pages just explaining what function objects are and why you'd use them. Only after this explication does the author explain the predefined function objects (another 12 pages). At that point, he's laid the groundwork for the final discussion: the journey into lambdas. And so it goes for more than 1,000 pages all told. The explanations are often illustrated by short, complete programs that highlight an important point, so you can see exactly how a function might be used or applied.

The first edition of this book is considered by many C++ programmers to be a true classic. I see no reason why the second edition should not be also. Highly recommended both as an upgrade to the first edition and as a new volume to readers unfamiliar with this work — and as an excellent complement to the first two books in this review.






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.