文档介绍:Thinking in C++ 2nd edition
Volume 2: Standard Libraries &
Advanced Topics
Revision 1, September 20, 1999
To be informed of future releases of this document and other information about object-
oriented books, documents, seminars and CDs, subscribe to my free newsletter. Just send any
email to: join-eckel-oo-******@earth.
________________________________________________________________________
Revision history:
TIC2VtwoR1: September 20, 1999. Broke the book into two volumes; this is volume two,
which will be published approximately late 2000 or early 2001. No other changes have been
made to volume 2 other than the separation and chapter renumbering.
TICA19: September 9, 1999. Started rewriting chapter 9. Then a ment about an
error in a Stash or Stack example caused me to re-architect all those examples and their prose
throughout the book, through Chapter 16 (Introduction to Templates) – A lot of changes/new
examples/re-architecting happened in Chapter 16 (the pile, but please test the
execution of the examples and send error corrections) and although I haven’t made the final
passes it is in pretty good shape. In addition, I added a new Stack example in Chapter 15
(Polymorphism) which shows the use of a container class in conjunction with a singly-rooted
hierarchy (and a little multiple inheritance to boot). Rewrote some virtual destructor examples
and prose in Chapter 15. Began making reference to Volume 2 of the book, as the book is
going to be split into Volume 1 and Volume 2, the split occuring after chapter 16. The goal is
to have Volume 1 in print by March 1 for academic adoption and Volume 2 a year after that
(Volume 2 will, of course, be avaialable on the in the meantime).
TICA18: July 29, 1999. Rewrote chapter 8 and added exercises. Replaced all later instances
of the “enum hack” with static const (which breaks VC++ a lot, since they still haven’t
implemented this relatively ancient and simple featur