The Second Edition of the book is now available!

For more information, please see STL Resources at Rensselaer. The information on this page refers to the first edition.

Errata (in Second Printing)

D.R. Musser and Atul Saini,
STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library,
Addison-Wesley, Reading, MA, 1996.

These errata were corrected between the second and third printings. To determine which printing you have, see the last line of the copyright page (back of title page).

p. 5, last line: insert "to" after "possible"

p. 10, line 4: change end to endl

p. 34, Figure 2-2: The line for big jumps and comparisons should be long dashes rather than solid

p. 73, Footnote 1: change "Section 5.4.1" to "Section 5.4"

p. 103, line 2: change v(6) to v(7) (This correction has been made in the online Source Code Resources, accessible from the book's web page.)

p. 104, line -11: delete ", 5"

p. 123, Output from Example 6-3: change vector1 to vector2 (three occurrences)

p. 165, line 4: change "maps/multisets" to "maps/multimaps"

p. 221, line -8: in the comment, change vector to multimap

p. 281, line -13: change "set" to "deque"

The following names were added in the Third Printing in the acknowledgements in the Preface, for bringing to our attention errors and suggestions for improvement: David C. Browne, Bart De Meyere, Rex Jaeschke, Gabor Liptak, and Pavel P. Zeldin

There are additional errata.