Errata

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:

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


Last updated 11 August 1998; additions since 9 December 1997 are marked with ===>
If you notice errors that are not listed here, please send email to musser@cs.rpi.edu.
To determine which printing you have, see the last line of the copyright page (back of title page).
If you have a First Printing copy, see Errors Corrected Between First and Second Printings.
If you have a First or Second Printing copy, see Errors Corrected Between Second and Third Printings.
No additional errors were corrected in the Fourth printing. If you have a First through Fourth Printing copy, see Errors Corrected Between Fourth and Fifth Printings.

The following errors will be corrected in future printings:

===>p. 127: change the first for loop to

for (p = position, k = 0; k < n; ++k)
  p = vector1.insert(p, x) + 1;
and the second for loop to
for (p = position, i = first; i != last; ++i)
  p = vector1.insert(p, *i) + 1;

===>p. 157, in copy call in middle of page: add another right parenthesis before the semicolon

===>p. 262, line 1: change first occurrence of value_type to iterator

p. 289, line -3: change "vector" to "list"

p. 346, in second prototype for equal_range change class T to class T, class Compare


musser@cs.rpi.edu