Download PDF Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library, by Scott Meyers
Interested? Obviously, this is why, we mean you to click the web link page to see, and afterwards you can take pleasure in guide Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers downloaded and install up until completed. You can save the soft documents of this Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers in your device. Certainly, you will bring the gadget anywhere, will not you? This is why, every single time you have leisure, whenever you could take pleasure in reading by soft copy book Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library, by Scott Meyers
Download PDF Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library, by Scott Meyers
Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers. Exactly what are you doing when having downtime? Chatting or scanning? Why don't you try to check out some e-book? Why should be reviewing? Checking out is one of enjoyable as well as delightful task to do in your leisure. By checking out from numerous resources, you could find new info and also experience. Guides Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers to check out will certainly be numerous beginning with scientific books to the fiction publications. It implies that you can read the e-books based on the requirement that you intend to take. Of training course, it will certainly be different and you could review all book kinds any sort of time. As below, we will certainly reveal you an e-book ought to be checked out. This publication Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers is the selection.
Well, book Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers will certainly make you closer to just what you are willing. This Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers will be always great close friend whenever. You may not forcedly to always finish over checking out a publication in short time. It will certainly be simply when you have leisure as well as spending couple of time to make you feel enjoyment with what you review. So, you can obtain the meaning of the message from each sentence in the publication.
Do you understand why you need to review this site and just what the relationship to checking out book Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers In this contemporary age, there are numerous methods to acquire guide and also they will be a lot easier to do. One of them is by obtaining the book Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers by on the internet as exactly what we tell in the web link download. The book Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers could be a selection due to the fact that it is so appropriate to your need now. To obtain guide on the internet is really easy by just downloading them. With this possibility, you could review guide anywhere and also whenever you are. When taking a train, awaiting list, as well as waiting for a person or other, you can review this on-line e-book Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers as a great close friend once again.
Yeah, reviewing a book Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers can add your friends listings. This is just one of the formulas for you to be effective. As known, success does not suggest that you have wonderful things. Comprehending as well as understanding even more than various other will give each success. Beside, the notification as well as impression of this Effective STL: 50 Specific Ways To Improve Your Use Of The Standard Template Library, By Scott Meyers can be taken and picked to act.
“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.
- Sales Rank: #69281 in Books
- Published on: 2001-06-16
- Original language: English
- Number of items: 1
- Dimensions: 9.00" h x .90" w x 7.30" l, 1.25 pounds
- Binding: Paperback
- 288 pages
Amazon.com Review
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
From the Back Cover
"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.
About the Author
Scott Meyers is one of the world's foremost authorities on C++, providing training and consulting services to clients worldwide. He is the author of the best-selling Effective C++ series of books (Effective C++, More Effective C++, and Effective STL) and of the innovative Effective C++ CD. He is consulting editor for Addison Wesley's Effective Software Development Series and serves on the Advisory Board for The C++ Source (http://www.artima.com/cppsource). He holds a Ph.D. in Computer Science from Brown University. His web site is http://www.aristeia.com.
Most helpful customer reviews
43 of 44 people found the following review helpful.
Scott Does It Again
By Andrei Alexandrescu
There we go - with his well-known sharpness and diligence, Scott absorbed STL in all detail, taught it in seminars, chewed on the ensuing experience, and distilled it all in this book.
I was one of the reviewers and in the beginning I thought that reviewing a book on STL is going to be an easy enough task. I was wrong.
I learned lots of new things on using STL effectively: why `empty()` is better than `size() == 0`, when and how to write custom allocators, how std::string might be implemented, how associative containers distinguish between equality and equivalence, how to implement associative containers as sorted vectors (that's a gem!), and many, many other things that I either had a blurry understanding of, or simply didn't know about. Now I'm glad I do, because my understanding of the STL and the practical use of it are much better.
The book went through an extensive review process; it is really combed and distilled to its finest. I recommend it to any C++ programmer who uses STL - which should be, any C++ programmer, period. Five well deserved stars.
24 of 24 people found the following review helpful.
improved my code immediately
By Eric Jewart
I'm a professional software engineer. I write code all day long and have lots of experience with C++, but I hadn't used STL much until recently. If you're in a similar situation--decent C++ knowledge but not an STL expert--this book is for you. I haven't even read the whole thing yet, and already I am using patterns from the book to write more effective code.
Before I started this book, I thought STL was kind of neat. It had some useful containers. It was nice to be able to use a list or map or string class that had already been tested.
Boy, was I underestimating the power of STL. This book has made me a big STL fan, but I'm not reviewing the STL now so I'll leave that topic alone... Thanks to Scott Meyers, I have a much better grasp of the capabilities and limitations of STL. I can use it to do a lot more. I write more concise code that's easier to read and debug. I make better choices about which containers to use. I recognize situations where I can use an STL algorithm instead of many lines of my own code.
In short, I look at the STL code I wrote before and laugh... I mean, it all works, but the Meyers book has taken my use of (and appreciation for) the STL to a whole new level. I recommend this book for any C++ developer who isn't already an STL expert.
An update, 2 years after the above text was written: I still recommend this book to people and still think it's the best STL book I've read.
36 of 39 people found the following review helpful.
Awesome!
By Michi Henning
This is a truly useful book. It explains lots of little "gotchas" that I didn't know about previously, and Scott does his usual excellent job at explaining *why* it's important to do things a certain way (and no other). One part that I found particularly interesting is about the futility of writing container-independent code; not only does that section show why this is a bad idea, it also serves as a splendid illustration of the idiosyncracies of the various containers. The chapter on iterators is priceless, as are the tips about writing comprehensible code and debugging.
The presentation is very much up-to-date (even to the point where it anticipates some of the forthcoming updates to the C++ standard). The writing style is clear and precise without sounding academic or condescending, and the book has an index that actually works.
"Effective STL" is every bit as good as "Effective C++" and "More Effective C++". No C++ programmer should still be writing code without the STL, and no-one writing code with the STL should be without this book. Buy it!
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library, by Scott Meyers PDF
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library, by Scott Meyers EPub
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library, by Scott Meyers Doc
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library, by Scott Meyers iBooks
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library, by Scott Meyers rtf
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library, by Scott Meyers Mobipocket
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library, by Scott Meyers Kindle