Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!princeton!allegra!alice!bs From: bs@alice.UUCP Newsgroups: comp.lang.c++ Subject: Book Errata Message-ID: <6423@alice.uUCp> Date: Wed, 3-Dec-86 22:12:51 EST Article-I.D.: alice.6423 Posted: Wed Dec 3 22:12:51 1986 Date-Received: Thu, 4-Dec-86 04:53:04 EST Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 24 When the second printing of the C++ book appeared I was asked to post a list of corrections here. Here are corrections for the third printing: Page 104 top: - anon => - L. Peter Deutsch Page 205: There is a (simple programming) bug in each of the functions slist::get(), slist::clear(), and slist_iterator::operator()(). (the bugs are not hard to find and easier to fix - the hard part was to fix them in such a way that the linecount for page 205 remained unchanged - try that as an excercise). Page 222: The second line of derived::derived() ought to read this = (this==0) ? (derived*)43 : this; (to conform to the rule that if there is an assignment to ``this'' in a constructor then there must be an assignment to ``this'' on every path through the constructor). Naturally, this change affects the output on page 223. Sorry.