Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Designing Components With the C++ Stl: A New Approach to Programming Hardcover – February, 1998
There is a newer edition of this item:
"Children of Blood and Bone"
Tomi Adeyemi conjures a stunning world of dark magic and danger in her West African-inspired fantasy debut. Learn more
'This book is the most accurate and up-to-date source of information on the STL currently available. . It has an approach and appeal of its own: it explains techniques for building data structures and algorithms on top of the STL, and in this way appreciates the STL for what it is - a framework.' Angelika Langer, Independent Consultant and C++ Report Columnist
From the Back Cover
This book is the most accurate and up-to-date source of information on the STL currently available.
It has an approach and appeal of its own: it explains techniques for building data structures and algorithms on top of the STL, and in this way appreciates the STL for what it is a framework.
- Angelika Langer, Independent Consultant and C++ Report Columnist
"A superbly authored treatment of the STL......an excellent book which belongs in any serious C++ developer's library."
- Jim Armstrong, President 2112 F/X, Texas.
The C++ Standard Template Library (STL) represents a breakthrough in C++ programming techniques. With it, software developers can achieve vast improvements in the reliability of their software, and increase their own productivity.
Designing Components with the C++ STL has three aims:
to introduce the reader to the STL
to show how this powerful resource can be exploited
to extend its use to the construction of new components.
This revised edition is fully compliant with the new ISO/IEC C++ Standard with an associated web site containing numerous, fully up-to-date examples for downloading.
The author shows how to make practical use of the STL through a wealth of examples and by drawing on his extensive experience and knowledge gained working with the C++ Standardization Committee. Unique insight into the internals of the STL takes the reader beyond simply using it, to show how the components supplied in the STL can be used to design more complex data structures and algorithms, and powerful abstract data types. Throughout, the author maintains an elegant and sophisticated coding style, adhering faithfully to the current ISO/ANSI standards, helping to ensure that your software will be even more portable, maintainable and reusable than ever.
0201674882B04062001 --This text refers to an out of print or unavailable edition of this title.
Author interviews, book reviews, editors picks, and more. Read it now
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
Containers <==> Iterators <==> Algorithms
Numerous elments of "bonus" information abound in this book, such as the difference between prefix and postfix incrementing. The author is to be complimented for providing examples with useful comments on almost every line of code.
Useful information on new header names and namespaces is appreciated. Unlike other treatments on this topic, examples are diverse and useful. It is annoying to read a book where almost every example is taken from some bizzare string manipulation. The author is to be complimented for solid examples from graph theory and sparse matrix computations.
The book is a perfect length -- not a bible and not a lot of fluff -- just solid, useful, well-thought out and well presented information.
Perhaps the only item missing (or at least missed in this reviewer's first reading) is performace-related information. For example, what are the performance implications of creating a vector via successive push_back calls vs. pre-sizing or reserving space and then using the overloaded index operator to access elements? For large arrays, or vectors of vectors, understaning how a contiguous area of memory is preserved has important performance ramifications.
Other small tidbits of information might have been helpful, such as explaining the difference between
using namespace std;
map< string, int, less<string>> someMap;
map< string, int, less<string> > someMap;
(with maximal munching, >> is interpreted as a token in C++ ... you can tell I was burned by this) Although you don't need the 'less' in this case, it's arguably a good habit to get into. One day, you will get burned when you do need it!
Of course, performance-related info! rmation in a design-oriented book may not be appropriate -- perhaps a topic for another edition, which this reviewer would purchase in an instant.
In all, an excellent book which belongs in any serious C++ developer's library.
The book is somewhat detailed in its description of STL. It covers contains and algorithms. However, although many of the more esoteric algorithms are listed, the description of them is poor and there is no explanation why they are there at all. I found this frustrating. The truth be known, with some of these you're better off reading the source.
Most annoying, is there is no help in extending STL. I bought the book specifically for this purpose. It's name implied more than a straight description of the "stuff" in STL. There isn't a clear description of the names your new cool container must support for example, or even sample code. I may as well not have had the book in this regard.
I did email the author regarding the first point and he was kind enough to reply.
I think if the book's title implied a straight description of STL then it would be more representative of the content. I think that would be better, because the present name is misleading.
If I could return it, I would.
It's not a tutorial - which is fine, I didn't want a tutorial. There a few tutorial examples, but they are poorly written, often bad style, and unmotivating. Better to ignore the examples, and just use this book as a reference.
It has some nice reference features - nice tables summarizing methods, etc.
However, it is totally dry, has no rationale or background information explaining the inconsistencies in the STL, and provides little useful in observing the meta-patterns that make it easier to use a library like the STL. It is a bit easier to read than the C++ standard, but not much.
The style is stilted - frankly, just like it was translated from German.
I often find myself going back to Stroustrup's one or two page summary of the STL in C++PL3, rather than to Breymann's book.
All this bad stuff being said, unfortunately, I have seen no other book suitable as a quick reference for the STL. I use the ANSI C++ standard online as my reference now.
If you already know the material in the book like the back of your hand, it's really not worth your money, there are better refrence books out there, and chances are you won't learn too much new.
If you're looking to learn a bit, then you have a choice. Either spend a bit (maybe a lot!) of extra time trying to "translate" the book out of it's unfortunate "halting" gibberish and you may gain a lot (and you may tear your hair out).
Otherwise you should just spend a bit of time looking for a better book - I agree heartily with the reviewer above: If I could, I'd return it.