Vous voulez voir cette page en français ? Cliquez ici.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
22 used & new from CDN$ 38.08

Have one to sell? Sell yours here
 
   
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library
 
 

Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library (Paperback)

by Scott Meyers (Author)
4.5 out of 5 stars  See all reviews (26 customer reviews)
List Price: CDN$ 54.99
Price: CDN$ 43.99 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 11.00 (20%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.ca. Gift-wrap available.

Only 3 left in stock--order soon (more on the way).

16 new from CDN$ 38.08 6 used from CDN$ 41.24

Frequently Bought Together

Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library + Effective C++: 55 Specific Ways to Improve Your Programs and Designs + More Effective C++: 35 New Ways to Improve Your Programs and Designs
Total List Price: CDN$ 164.97
Price For All Three: CDN$ 131.97

Some of these items ship sooner than the others. Show details

  • This item: Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library by Scott Meyers

    In Stock.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details

  • Effective C++: 55 Specific Ways to Improve Your Programs and Designs by Scott Meyers

    Usually ships within 6 to 9 days.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details

  • More Effective C++: 35 New Ways to Improve Your Programs and Designs by Scott Meyers

    In Stock.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Product Details


Product Description

From Amazon.co.uk

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 organised 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-colour printing to highlight the most important lines of code. (Advanced developers will enjoy Meyers' 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 for writing code that is slow or just plain wrong.

Other areas covered in Effective STL include 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

Product Description

"This is Effective C++ volume three -- it's really that good." -- Herb Sutter, independent consultant and secretary of the ISO/ANSI C++ standards committee"There are very few books which all C++ programmers must have. Add Effective STL to that list." -- Thomas Becker, Senior Software Engineer, Zephyr Associates, Inc., and columnist, C/C++ Users Journal C++'s Standard Template Library is revolutionary, but learning to use it well has always been a challenge. Until now. In this book, best-selling author Scott Meyers (Effective C++, and More Effective C++) reveals the critical rules of thumb employed by the experts -- the things they almost always do or almost always avoid doing -- to get the most out of the library. Other books describe what's in the STL. Effective STL shows you how to use it. Each of the book's 50 guidelines is backed by Meyers' legendary analysis and incisive examples, so you'll learn not only what to do, but also when to do it -- and why. Highlights of Effective STL include: *Advice on choosing among standard STL containers (like vector and list), nonstandard STL containers (like hash_set and hash_map), and non-STL containers (like bitset). *Techniques to maximize the efficiency of the STL and the programs that use it. *Insights into the behavior of iterators, function objects, and allocators, including things you should not do. *Guidance for the proper use of algorithms and member functions whose names are the same (e.g., find), but whose actions differ in subtle (but important) ways. *Discussions of potential portability problems, including straightforward ways to avoid them. Like Meyers' previous books, Effective STL is filled with proven wisdom that comes only from experience. Its clear, concise, penetrating style makes it an essential resource for every STL programmer.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

What do customers ultimately buy after viewing this item?

Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library
56% buy the item featured on this page:
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library 4.5 out of 5 stars (26)
CDN$ 43.99
Effective C++: 55 Specific Ways to Improve Your Programs and Designs
29% buy
Effective C++: 55 Specific Ways to Improve Your Programs and Designs 4.9 out of 5 stars (84)
CDN$ 43.99
Design Patterns: Elements of Reusable Object-Oriented Software
5% buy
Design Patterns: Elements of Reusable Object-Oriented Software 4.5 out of 5 stars (178)
CDN$ 52.79
More Effective C++: 35 New Ways to Improve Your Programs and Designs
5% buy
More Effective C++: 35 New Ways to Improve Your Programs and Designs 4.4 out of 5 stars (29)
CDN$ 43.99

 

Customer Reviews

26 Reviews
5 star:
 (18)
4 star:
 (5)
3 star:
 (1)
2 star:
 (2)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.5 out of 5 stars (26 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most helpful customer reviews

 
4.0 out of 5 stars a very good book, Nov 25 2006
By Olivier Langlois "www.OlivierLanglois.net" (Montreal, Quebec Canada) - See all my reviews
(REAL NAME)   
I really enjoyed to read this book as it contains very good tips. The only detail that annoys me a little bit is the amount of cross references between the items. The author first 2 books were a little bit like that but it seems to me that this one is too much. I would have prefered to have items more self contained. If you want to refer to a particular item, this one will refer to 2 other items that will refer to some more items and so on to the point where if you would like to close the open loop, you would need to consult all the items.

Except for this small annoyance, this book is very good. You should read it or have it.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
5.0 out of 5 stars Good book for experienced stl user, Aug 19 2003
By Tianzhi Yang "bystander" (NY,NY) - See all my reviews
(REAL NAME)   
Frankly this is not a beginner's book. You need some deep knowledge of c++ templates and working knowledge of stl to make the best out of this book.
Aside from introducing some caveats in STL programming, the main achievement of this book is to introduce the more descent part of STL which is less commonly used.

If you only use STL in the same way you use traditional data structure interfaces, this is the book for you.

Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
2.0 out of 5 stars Not as good as his other books, May 16 2003
By An Pham (Fountain Valley, CA) - See all my reviews
The only reason I picked up this book was because of his other book Effective C++. I liked the way he approached things in that book so I decided to pick up this book as well, trusting that I was going to get the same result. Writing a book on the STL is different however and the formula that worked for Effective C++ didn't work for this one at all. If you're looking for a book specifically on STL then I would recommend picking up something else before this one. If you've already read all the books on STL and you're looking for something that'll put some of those pieces together than this might be the one for you.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
Most recent customer reviews

5.0 out of 5 stars A must have
Following in the tradition of his prior books, Meyers delivers another gem with Effective STL. This one is a must have for your software development bookshelf. Read more
Published on Oct 30 2002 by Douglas Welzel

5.0 out of 5 stars A C++ STL Book of Wisdom
Hi.

Effective STL is an advanced book of wisdom to some of the more important features in the C++ STL. Read more

Published on Oct 19 2002 by kuphryn

2.0 out of 5 stars Effective STL, More effective STL, More More Effective STL
What happened to the day when an author possessed the ability to convey an ideal within the confines of one book. Read more
Published on Oct 2 2002 by Braun S Stella

3.0 out of 5 stars More Brain Teaser than Tutorial
God bless Scott Meyers and this is (probably) a good book. But it doesn't fit into the same educational niche as his books on effective C++. I read "Effective C++: 50... Read more
Published on Sep 3 2002 by Mr. Roy B. Mccammon

5.0 out of 5 stars "Hat Trick" for Scott
This is the third book by Scott Meyers that I've owned. It is, as expected, a joy to read. I find Scott's style of writing easy to follow. Read more
Published on Aug 5 2002 by Victor A. Wagner Jr.

5.0 out of 5 stars Great Supplement to Introductory and Reference Books on STL
This book follows in the manner of Scott Meyers' other excellent C++ books (Effective C++ and More Effective C++). Read more
Published on July 3 2002 by Paul M. Dubuc

5.0 out of 5 stars If you know what "STL" stands for, you NEED this book
I'm not a professional programmer, but I play one on... Okay, I admit I'm a pretender. I code when I need to, not as an end in and of itself. Read more
Published on July 3 2002 by smokey_joe

5.0 out of 5 stars Great (but *definitely* not for beginners)
This is an indispensible book if you are already a very competent C++ programmer but think you might be missing out on some of STL. Read more
Published on Jun 24 2002 by Christopher Hennes

5.0 out of 5 stars No let up, another great one from Meyers.
Classical Meyers -- enlightening, concise, very well written. Nothing much to say beside that, just registering another thumbs-up opinion.
Published on Jun 3 2002 by John Doe

4.0 out of 5 stars Interesting and educational
As with the earler EFFECTIVE C++ books, this book was pleasant to read and informative. It gave a lot of good tips that were not obvious from reading THE C++ PROGRAMMING... Read more
Published on Feb 18 2002 by Matthew Seitz

Only search this product's reviews



Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges

Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.