STL Efficient Programming - (English Version)

Author: (USA) Scott Meyers / Country: United States
Publisher:
Publish Date: 2006-08-01
Features: 50 Effective STL Usage Tips
This is the third volume of Effective C++, and it remains outstanding. —Herb Sutter, Chairman of the ISO/ANSI C++ Standards Committee
There are few books that every C++ programmer must read, and this is one of them. The C++ Standard Template Library (STL) is revolutionary, but learning to use it effectively is full of challenges. The renowned Taiwanese technical writer, Dr. J. H. Hsieh, once described the process of learning STL in three stages:
Stage 1: Proficient Use of STL.
Stage 2: Understanding the Essence of Generic Programming and the Theories and Practices of STL.
Stage 3: Extending STL.
This book is undoubtedly the best guide to help you reach Stage 2. Here, C++ authority Scott Meyers reveals key rules summarized by experts, including practices they always adopt and those they always avoid. These rules can maximize the utility of STL. While some books merely describe what STL contains, this one teaches how to use STL. The book presents 50 guiding principles, and for each, Scott Meyers provides thorough analysis and insightful examples. Readers not only learn what to do but also when and why to do it. Like Meyers' other works, this book is filled with wisdom derived from real-world experience. Its clear, concise, and in-depth style makes it an indispensable reference for every STL programmer.
Advice on choosing containers, covering:
Standard STL containers (e.g., vector and list),
Non-standard STL containers (e.g., hash_set and hash_map),
Non-STL containers (e.g., bitset).
Some techniques to significantly improve efficiency, which can greatly enhance STL (and programs using STL) performance.

📌 Related Posts