| |||||||||||||||
More Effective C++: 35 New Ways to Improve Your Programs and Designs by Scott Meyers |
Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition) by Scott Meyers |
by Nicolai M. Josuttis
|
Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions by Herb Sutter |
by Nicolai M. Josuttis
|
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
Topics covered:
Product Details
Would you like to update product info or give feedback on images?
|
![]() |
67% buy the item featured on this page: Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library $32.25 |
![]() |
18% buy Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition) $32.25 |
![]() |
6% buy More Effective C++: 35 New Ways to Improve Your Programs and Designs $32.25 |
![]() |
5% buy The C++ Standard Library: A Tutorial and Reference $51.60 |
Tags Customers Associate with This Product(What's this?)Click on a tag to find related items, discussions, and people.
|
|
Share your thoughts with other customers:
|
||||||||||||||
Most Helpful Customer Reviews
Share your thoughts with other customers: Create your own review
|
|
|
This product's forum
Active discussions in related forums
Search Customer Discussions
|
|
After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in. |