STL is a hugely powerful feature of today's C++, but one with a well-earned reputation for complexity. The book is organized into 50 tips that explore different areas of the STL. Besides providing a list of dos and don'ts, Meyers presents a lot of background on what works and what doesn't with STL. Each tip is demonstrated with in-depth coding samples, many of which make use of two-color printing to highlight the most important lines of code. (Advanced developers will enjoy Meyers's in-depth explanations, while those who are in a hurry can skip ahead to the recommended tip itself.)
A good part of this book involves using containers, like vectors and maps, which are built into STL. (Besides the standard built-in containers, the author also highlights recent additions to STL like B-trees, which are available as extensions from other vendors.) You'll learn the best ways to allocate, add, change, and delete items inside containers, including associative containers like maps. You'll also learn to avoid common pitfalls, which can result in writing code that is slow or just plain wrong.
Other areas covered in Effective STL cover getting the most out of the 100-plus STL algorithms that are bundled with this library. Meyers shows you how to choose the correct algorithm for sorting and other functions. (Even advanced developers will learn something here.) Sections on using function objects (called functors) round out the text. Meyers shows you when these classes make sense and the best ways to implement them. Besides specific tips, you'll get plenty of general programming advice. A useful appendix shows the limitations of STL as implemented in Microsoft Visual C++ 6.0 and how to overcome them.
Overall, Effective STL is a really invaluable source of programming expertise on an essential aspect of today's C++ for anyone who is using--or planning to use--STL in real production code. It is quite simply a must-have. --Richard Dragan
C++'s Standard Template Library is revolutionary, but learning to use it well has always been a challenge. Until now.
Other books describe what's in the STL. Effective STL shows you how to use it. Each of the book's 50 guidelines is backed by Meyers' legendary analysis and incisive examples, so you'll learn not only what to do, but also when to do it--and why.
Highlights of Effective STL include:
Like Meyers' previous books, Effective STL is filled with proven wisdom that comes only from experience. Its clear, concise, penetrating style makes it an essential resource for every STL programmer.
This is a set of do's and don'ts by one of the master C++ programmers / consultants that is still currently active. Read morePublished 19 days ago by Perry Smith
I was brought up on STL with C++, and can't imagine the language without it. This book, however, opened my eyes to many of the strengths, weaknesses, and issues of the Standard... Read morePublished 5 months ago by Max
Gift for a Christmas present, The person I gave it to was very pleased that they received it for a gift.Published 7 months ago by jerryw
I'm a great fan of Meyer's Effective C++, but this book is not in that league. Maybe it was a good book when it came out (in 2001! Read morePublished 12 months ago by Robert the Good
I read this slowly, a few pages at a time. There's a lot to absorb, especially if you don't use all of the STL on a daily basis. Read morePublished 13 months ago by Richard Salz
Being international seller it took a good 4 weeks to arrive. Book was as good as new only for a fold mark in the back cover page running vertically down the whole cover. Read morePublished 19 months ago by Balakrishnan Raman
It let me to know how to use, when to use, where to use and what to use STL. I read it several times and feel very comfortable with STL right nowPublished 19 months ago by Anping Chen
I am satisfied with the purchase. The book has some highlighting but it was already mentioned in the advertisement, so I should not complain. Overall, I am happy.Published on May 4, 2012 by Santosh
"Effective STL" is the final installment of Scott Meyers' "Effective" trilogy. While the first two volumes ("Effective C++" and "More Effective C++") discussed general tips on C++,... Read morePublished on April 10, 2011 by Alexandros Gezerlis