Markus Dehmann wrote:
Is there a good book on STL containers and how to use the STL
efficiently, in general?
I often don't know if a map, hash_map (not STL?), or vector would
be more efficient. Or list? What is a deque? I'd like to learn
when to use which container. Can someone recommend a good book on
this?
I see somebody has already mentioned Josuttis's book, which I think is
a fine suggestion. In addition, you might want to look at:
Effective STL Scott Meyers
published by Addison-Wesley ISBN 0-201-74962-9
STL Tutorial and Reference Guide, 2nd Ed. Musser, Saini, Derge
published by Addison-Wesley ISBN 0-201-37923-6
It isn't specifically devoted to the iterators/iterators/containers
part of the library (or even to the library) but you might also want to
look at:
C++ Common Knowledge Stephen Dewhurst
published by Addison-Wesley ISBN 0-321-32192-8
--
Later,
Jerry.
The universe is a figment of its own imagination.