基本信息
名称: Effective STL(英文)
作者信息: 作者: Scott Meyers [ 英文 pdf ]
简单介绍
Each of the book’s 50 guidelines is backedby Meyers’ legendary analysis and incisive examples, so you’lllearn not only what to do, but also when to do it – and why.Highlights of Effective STL include: * Advice on choosing amongstandard STL containers (like vector and list), nonstandard STLcontainers (like hash_set and hash_map), and non-STL containers(like bitset). * Techniques to maximize the efficiency of the STLand the programs that use it. * Insights into the behavior ofiterators, function objects, and allocators, including things youshould not do. * Guidance for the proper use of algorithms andmember functions whose names are the same (e.g., find), but whoseactions differ in subtle (but important) ways. * Discussions ofpotential portability problems, including straightforward ways toavoid them. Like Meyers’ previous books, Effective STL is filledwith proven wisdom that comes only from experience. Its clear,concise, penetrating style makes it an essential resource for everySTL programmer. Copyright
Addison-Wesley Professional Computing Series
Preface
Acknowledgments
Introduction
Ch. 1. Containers
Ch. 2. vector and string
Ch. 3. Associative Containers
Ch. 4. Iterators
Ch. 5. Algorithms
Ch. 6. Functors, Functor Classes, Functions, etc
Ch. 7. Programming with the STL
Bibliography
Appx. A. Locales and Case-Insensitive String Comparisons
How to Do Case-Insensitive String Comparison by Matt Austern
目录
1 |