3 ms·
If you can handle some abstract theory, the design of the STL is put into a useful context by Stepanov's Elements of Programming. Stroustrup's The Design and E
by twoodfin 13y ago
If you can handle some abstract theory, the design of the STL is put into a useful context by Stepanov's Elements of Programming.
Stroustrup's The Design and Evolution of C++ is another great "why" book, and I hope that Bjarne will decide to update it for C++11 or 14.
It's older, but reading Lippman's Inside the C++ Object Model is what finally made the language click for me.
- Rusky 13y ago+1 for Inside the C++ Object Model. Understanding the mechanics of abstractions like virtual methods (along with stack/heap, pointers, but those are less C++-specific) makes you much more confident in what your code is doing (and why you might do it that way).