Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Effective STL and over 140,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
39 used & new from $32.50

Have one to sell? Sell yours here
 
   
Tell a Friend
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library (Addison-Wesley Professional Computing Series)
 
 
Start reading Effective STL on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  

Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library (Addison-Wesley Professional Computing Series) (Paperback)

by Scott Meyers (Author)
4.6 out of 5 stars  (34 customer reviews)

List Price: $49.99
Price: $40.70 & this item ships for FREE with Super Saver Shipping. Details
You Save: $9.29 (19%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Monday, July 28? Choose One-Day Shipping at checkout. See details

39 used & new available from $32.50
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $22.39
 
   

Better Together


Customers Who Bought This Item Also Bought

More Effective C++: 35 New Ways to Improve Your Programs and Designs (Addison-Wesley Professional Computing Series)

More Effective C++: 35 New Ways to Improve Your Programs and Designs (Addison-Wesley Professional Computing Series) by Scott Meyers

4.4 out of 5 stars (38)  $40.50
C++ Coding Standards: 101 Rules, Guidelines, and Best Practices (C++ In-Depth Series)

C++ Coding Standards: 101 Rules, Guidelines, and Best Practices (C++ In-Depth Series) by Herb Sutter

4.3 out of 5 stars (27)  $32.60
C++ Templates: The Complete Guide

C++ Templates: The Complete Guide by David Vandevoorde

4.8 out of 5 stars (24)  $59.90
The C++ Programming Language: Special Edition (3rd Edition)

The C++ Programming Language: Special Edition (3rd Edition) by Bjarne Stroustrup

4.2 out of 5 stars (277)  $60.36
Beyond the C++ Standard Library: An Introduction to Boost

Beyond the C++ Standard Library: An Introduction to Boost by Björn Karlsson

3.7 out of 5 stars (13)  $44.70
Explore similar items : Books (100)

Editorial Reviews
Amazon.com
Written for the intermediate or advanced C++ programmer, renowned C++ expert Scott Meyers provides essential techniques for getting more out of the Standard Template Library in Effective STL, a tutorial for doing more with this powerful library.

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:

  • Introduction to advanced Standard Template Library (STL) programming techniques
  • 50 tips and best practices for STL illustrated with sample tutorial code
  • Choosing containers
  • Efficient copying of elements inside containers
  • Removing, erasing, and cleaning up items from containers
  • Using custom allocators with STL containers
  • Thread safety with STL
  • Tips for programming with the STL vector and string classes (including reserving memory and calling legacy C/C++ code)
  • Tips for associative containers (including comparing items, sorted vectors, and non-standard enhancements to STL)
  • Tips for selecting and using STL iterator classes
  • STL algorithms (including sorting, removing, and comparing items)
  • Using functors with STL
  • General tips for STL programming (including advice for choosing algorithms and understanding compiler diagnostic messages)
  • String locales
  • Overcoming STL imitations in Microsoft Visual C++ 6.0


Book Info
(Pearson Education) Explains STL, Standard Template Library, and how to use it. Offers STL programmes at varying levels of skill techniques to master the efficiency of STL and STL programs, with insights into functions, allocators, and iterators, among other concepts. Softcover. DLC: C++ (Computer program language).

See all Editorial Reviews

Product Details
  • Paperback: 288 pages
  • Publisher: Addison-Wesley Professional (June 16, 2001)
  • Language: English
  • ISBN-10: 0201749629
  • ISBN-13: 978-0201749625
  • Product Dimensions: 9.1 x 7.3 x 0.7 inches
  • Shipping Weight: 1.5 pounds (View shipping rates and policies)
  • Average Customer Review: