tags:

views:

115

answers:

5

Hi, what would be the best way to learn what actually happens with the STL containers? I presume just programming wouldnt be enough. Are there any books specifically aimed at this?

+6  A: 

This book is quite good, even if maybe it does not go deep enough in the details as you would like: The C++ Standard Library: A Tutorial and Reference

Cedric H.
A: 

There are books dedicated for C++ STL. You could try one of those.

Gunner
The book mentioned by Cedric H is a good option.
Gunner
+1  A: 

The best way to figure out what's happening 'under the bonnet' is to actually look under the hood and find the source code :)

Otherwise just read the documentation. I recommend this site, or this book.

bramp
I don’t think so. The libstd source code is a horrible, horrible mess in at least the two most popular implementations (i.e. g++’s and Dinkumware’s). STLPort’s may be more readable, but I doubt it, if only due to the usage of double underscores all over the place to avoid name clashes.
Konrad Rudolph
+1  A: 

Stephan T. Lavavej is currently doing video lectures about the STL.

FredOverflow