- Shopping Bag ( 0 items )
From Barnes & NobleThe Barnes & Noble Review
It's hard to overestimate the importance of the Standard Template Library: the STL can simplify life for any C++ programmer who knows how to use it well. Ay, there's the rub. Even C++ programmers who routinely use the STL often find themselves encountering memory leaks, erratic behavior, and other annoyances.
What's needed is a book like Scott Meyers's legendary Effective C++: one that brings together the best techniques for writing code that works smoothly, quickly, and portably. Meyers has obliged. The 50 techniques in Effective STL get you "in the flow" of STL programming, making it easier to accomplish more, stay out of trouble, and even have more fun.
Meyers starts with guidelines that apply to all STL containers; then offers specific advice for specific container types. There's a chapter on vector and string, fine replacements for most dynamically allocated arrays, but ones with their own responsibilities. Meyers offers cogent ideas for dealing with iterators, algorithms, functors, and functor classes. He concludes with several invaluable "top-level" tips that help you use the right STL tool for every task, even when several are available. If you've been stumbling around in the dim light with STL, here's your halogen flashlight. (Bill Camarda)
Bill Camarda is a consultant, writer, and web/multimedia content developer with nearly 20 years' experience in helping technology companies deploy and market advanced software, computing, and networking products and services. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies®, Second Edition.