Ebook C++ Templates: The Complete Guide, by David Vandevoorde, Nicolai M. Josuttis
C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis. Discovering how to have reading routine resembles learning how to attempt for eating something that you actually don't desire. It will certainly require even more times to aid. Additionally, it will certainly also bit make to offer the food to your mouth as well as swallow it. Well, as reading a book C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis, often, if you must check out something for your brand-new jobs, you will really feel so dizzy of it. Even it is a publication like C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis; it will certainly make you feel so bad.
C++ Templates: The Complete Guide, by David Vandevoorde, Nicolai M. Josuttis
Ebook C++ Templates: The Complete Guide, by David Vandevoorde, Nicolai M. Josuttis
Make use of the advanced innovation that human creates today to discover guide C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis effortlessly. However first, we will ask you, how much do you enjoy to check out a book C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis Does it constantly till finish? For what does that book read? Well, if you really like reading, attempt to check out the C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis as one of your reading compilation. If you just checked out the book based on requirement at the time and also incomplete, you have to aim to such as reading C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis first.
Positions currently this C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis as one of your book collection! However, it is not in your cabinet collections. Why? This is guide C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis that is given in soft data. You could download and install the soft documents of this spectacular book C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis now and also in the link offered. Yeah, different with the other people who try to find book C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis outside, you could obtain less complicated to pose this book. When some individuals still walk into the store and also browse guide C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis, you are here just stay on your seat and get the book C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis.
While the other individuals in the establishment, they are unsure to discover this C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis straight. It might require even more times to go shop by establishment. This is why we suppose you this website. We will offer the very best means and recommendation to get the book C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis Also this is soft file book, it will be ease to lug C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis anywhere or conserve in the house. The distinction is that you could not require move guide C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis area to place. You might require only copy to the various other tools.
Currently, reading this amazing C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis will certainly be simpler unless you obtain download and install the soft documents here. Merely below! By clicking the link to download and install C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis, you can begin to obtain the book for your own. Be the first owner of this soft documents book C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis Make difference for the others and also get the initial to progression for C++ Templates: The Complete Guide, By David Vandevoorde, Nicolai M. Josuttis Present moment!
Templates are among the most powerful features of C++, but they are too often neglected, misunderstood, and misused. C++ Templates: The Complete Guide provides software architects and engineers with a clear understanding of why, when, and how to use templates to build and maintain cleaner, faster, and smarter software more efficiently. C++ Templates begins with an insightful tutorial on basic concepts and language features. The remainder of the book serves as a comprehensive reference, focusing first on language details, then on a wide range of coding techniques, and finally on advanced applications for templates. Examples used throughout the book illustrate abstract concepts and demonstrate best practices. Readers learn: The exact behaviors of templates How to avoid the pitfalls associated with templates Idioms and techniques, from the basic to the previously undocumented How to reuse source code without threatening performance or safety How to increase the efficiency of C++ programs How to produce more flexible and maintainable software This practical guide shows programmers how to exploit the full power of the template features in C++.
- Sales Rank: #697665 in Books
- Brand: Vandevoorde, David/ Josuttis, Nicolai M.
- Published on: 2002-11-22
- Original language: English
- Number of items: 1
- Dimensions: 9.40" h x 1.40" w x 7.60" l, 2.25 pounds
- Binding: Hardcover
- 552 pages
From the Back Cover
Templates are among the most powerful features of C++, but they are too often neglected, misunderstood, and misused. C++ Templates: The Complete Guide provides software architects and engineers with a clear understanding of why, when, and how to use templates to build and maintain cleaner, faster, and smarter software more efficiently.
C++ Templates begins with an insightful tutorial on basic concepts and language features. The remainder of the book serves as a comprehensive reference, focusing first on language details, then on a wide range of coding techniques, and finally on advanced applications for templates. Examples used throughout the book illustrate abstract concepts and demonstrate best practices.
Readers learn
- The exact behaviors of templates
- How to avoid the pitfalls associated with templates
- Idioms and techniques, from the basic to the previously undocumented
- How to reuse source code without threatening performance or safety
- How to increase the efficiency of C++ programs
- How to produce more flexible and maintainable software
This practical guide shows programmers how to exploit the full power of the template features in C++.
The companion Web site at http://www.josuttis.com/tmplbook/ contains sample code and additional updates.
0201734842B09172002
About the Author
David Vandevoorde is an engineer at the Edison Design Group. He is an active member of the ANSI C++ Standards Committee, and a cofounder of the newsgroup comp.lang.c++.moderated. A graduate of the Brussels Free University and the Rensselaer Polytechnic Institute, his interests include algorithm development, programming languages, and teaching. See www.vandevoorde.com.
Nicolai M. Josuttis is an independent technical consultant who designs object-oriented software for the telecommunications, traffic, finance, and manufacturing industries. He is an active member of the C++ Standards Committee Library Working Group. Nicolai has written several books on object-oriented programming and C++. See www.josuttis.com.
0201734842AB09172002
Excerpt. � Reprinted by permission. All rights reserved.
The idea of templates in C++ is more than ten years old. C++ templates were already documented in 1990 in the Annotated C++ Reference Manual or so-called "ARM" (see EllisStroustrupARM) and they had been described before that in more specialized publications. However, well over a decade later we found a dearth of literature that concentrates on the fundamental concepts and advanced techniques of this fascinating, complex, and powerful C++ feature. We wanted to address this issue and decided to write the book about templates (with perhaps a slight lack of humility).
However, we approached the task with different backgrounds and with different intentions. David, an experienced compiler implementer and member of the C++ Standard Committee Core Language Working Group, was interested in an exact and detailed description of all the power (and problems) of templates. Nico, an "ordinary" application programmer and member of the C++ Standard Committee Library Working Group, was interested in understanding all the techniques of templates in a way that he could use and benefit from them. In addition, we both wanted to share this knowledge with you, the reader, and the whole community to help to avoid further misunderstanding, confusion, or apprehension.
As a consequence, you will see both conceptual introductions with day-to-day examples and detailed descriptions of the exact behavior of templates. Starting from the basic principles of templates and working up to the "art of template programming," you will discover (or rediscover) techniques such as static polymorphism, policy classes, metaprogramming, and expression templates. You will also gain a deeper understanding of the C++ standard library, in which almost all code involves templates.
We learned a lot and we had much fun while writing this book. We hope you will have the same experience while reading it. Enjoy!
AcknowledgmentsThis book presents ideas, concepts, solutions, and examples from many sources. In a way it does not seem fair that our names are the only ones on the cover. We'd like to thank all the people and companies who helped and supported us during the past few years. First, we'd like to thank all the reviewers and everyone else who gave us their opinion on early manuscripts. These people endow the book with a quality it would never have had without their input. The reviewers for this book were Kyle Blaney, Thomas Gschwind, Dennis Mancl, Patrick McKillen, and Jan Christiaan van Winkel. Special thanks to Dietmar Kuhl who meticulously reviewed and edited the whole book. His feedback was an incredible contribution to the quality of this book. We'd also like to thank all the people and companies who gave us the opportunity to test our examples on different platforms with different compilers. Many thanks to the Edison Design Groupfor their great compiler and their support. It was a big help during the standardization process and the writing of this book. Many thanks also go to all the developers of the free GNU and egcs compilers (Jason Merrill was especially responsive), and to Microsoft for an evaluation version of Visual C++ (Jonathan Caves, Herb Sutter and Jason Shirk were our contacts there).
Much of the existing "C++ Wisdom" was collectively created by the online C++ community. Most of that comes from the moderated Usenet groups comp.lang.c++.moderated and comp.std.c++. We are therefore especially indebted to the active moderators of those groups, who keep the discussions useful and constructive. We also much appreciate all those who over the years have taken the time to describe and explain their ideas for us all to share.The Addison Wesley team did another great job. We are most indebted to Debbie Lafferty (our editor) for her gentle prodding, good advice, and relentless hard work in support of this book. We're grateful also to Marina Lang who first sponsored this book within Addison Wesley. Susan Winer contributed an early round of editing that helped shape our later work.
Nico's AcknowledgmentsMy first personal thanks goes with a lot kisses to my family: Ulli, Lucas, Anica, and Frederic did support this book with a lot patience, consideration, and spur. In addition, I want to thank David. His expertise turned out to be incredible. But, his patience was even better (sometimes I ask really silly questions). It is a lot of fun to work with him.
David's AcknowledgmentsMy wife Karina has been instrumental in this book coming to a conclusion and I am immensely grateful for the role that she plays in my life. Writing "in your spare time" quickly becomes erratic when many other activities vie for your schedule. Karina helped me to manage that schedule, taught me to say "No" in order to make the time needed to make regular progress in the writing process,and above all was amazingly supportive of this project. I thank God every day for her friendship and love.
I'm also tremendously grateful to have been able to work with Nico. Besides his directly visible contributions to the text, his experience and discipline moved us from my pitiful doodling to a well organized production.John "Mr. Template" Spicer and Steve "Mr. Overload" Adamczyk are wonderful friends and colleagues, but in my opinion they are (together) also the ultimate authority regarding the core C++ language. They clarified many of the trickier issues described in this book, and should you find an error in the description of a C++ language element, it is almost certainly attributable to my failing toconsult with them.
Finally, I want to express my appreciation to those who were supportive of this project without necessarily contributing to it directly (the power of cheer cannot be understated). First are my parents: Their love for me and their encouragements make all the difference. And then, there are the numerous friends constantly asking "How is the book going?"; they too were a source of encouragement: Michael Beckmann, Brett and Julie Beene, Jarran Carr, Simon Chang, Ho and Sarah Cho, Christophe De Dinechin, Peter and Ewa Deelman, Neil and Tammy Eberle, Sassan Hazeghi, Vikram Kumar, Jim and Lindsay Long, Franklin Luk, Richard and Marianna Morgan, Ragu Raghavendra, Jim and Phuong Sharp, Gregg Vaughn, and John Wiegley.
0201734842P10072002
Most helpful customer reviews
38 of 38 people found the following review helpful.
Comprehensive and Thorough
By Amazon Customer
This is a book that the C++ community has been in need of for several years, and it seems that an ideal team of authors has come together for this: Nicolai Josuttis again contributes the thoroughness and lucid writing that has made his earlier book _The C++ Standard Library_ such a pleasure to read, and David Vandevoorde contributes historical background about the evolution of C++ standard and its implementations that help to understand some of the peculiarities of how C++ works today and some of the directions it's likely to evolve in.
The book is divided into 4 parts. Part I gives a basic overview of the template mechanisms in C++ and part II goes into more detail on this. Part III applies templates to standard problems, while part IV covers more exotic uses of templates similar to what is discussed in Alexandrescu's _Modern C++ Design_. Even for a reasonably experienced template user like me, there were many details I learned even from the most fundamental part I.
This is a near perfect book (apart from a few apparent bugs in the code examples that hopefully will get corrected) that will greatly benefit any programmer who works with template based code.
66 of 73 people found the following review helpful.
You'll laugh, you'll cry, you'll fall down...
By Hyman Rosen
Templates are increasingly becoming one of the most important
aspects of C++ programming, and are the central feature of the
most creative and innovative new C++ projects.
They are reasonably simple in concept, but in the effort to make
them behave "intuitively" for common cases, the actual rules that
describe what they do are hideously complicated. A guide for the
perplexed was sorely needed, and fortunately, has now appeared.
I'm no slouch at the subject myself, but I learned a few things
that I had no inkling of before, just on a casual reading of the
first few chapters. (Although the main thing I am learning once
again is just how insanely stupid C++ syntax is, and how awful
was the choice of angle brackets for template delimiters.) The
authors are experts on the subject, and the material is presented
clearly, with many examples, and above all correctly.
This is another must-have book for people who want to understand
all of C++. (Not that that's possible, except for perhaps half a
dozen people or so. I'll bet more people understand General
Relativity.)
40 of 43 people found the following review helpful.
Nice, but may not be a good first choice.
By Dave O'Hearn
This book is encyclopedic. It will tell you everything about templates, both every detail at the language level and everything interesting someone has done with templates in the last 10 years. It even tells you furture changes that might happen to templates in 4-8 years when the C++ standard is revised. This last is useful to know, to keep in mind what templates cannot do, as sometimes it feels like templates can do anything. Though the writing is somewhat dry, it is always clean and to-the-point, and the authors have the highest reputations for accuracy and expertise.
The entire last 200 pages of this 500 page book, from Metaprograms on through the entire section on Advanced Applications, describe things software developers should look to libraries for. Smart pointers, generic functors, metaprogramming, etc., are all weak without a supporting library, and there are good libraries freely available. The book gives references to them, which is good, but it mainly tells you how to write similar things from scratch, which is somewhat useless except to the few hundred living people who write the libraries. Unless you were curious, that is.
The only technique I will be using myself in production code, as opposed to getting from quality libraries, is traits and policies. The book does spend 40 pages covering this, and it touches all the bases, but _Modern C++ Design_ has a much fuller coverage, which this book admits at the end of its section.
Although this book is excellent, and you will eventually want it to reach "guru" status as your understanding of templates grows, you may want _Modern C++ Design_ first, if your present interest is mainly in policy-based design and you prefer to start with applications rather than fundamentals. You may also want to consider the new _C++ Template Metaprogramming_ if your present interest is metaprogramming. But if you are looking for a solid, general grounding in everything templates can do and have been used to do, _C++ Templates: the Complete Guide_ is exactly what you are looking for.
C++ Templates: The Complete Guide, by David Vandevoorde, Nicolai M. Josuttis PDF
C++ Templates: The Complete Guide, by David Vandevoorde, Nicolai M. Josuttis EPub
C++ Templates: The Complete Guide, by David Vandevoorde, Nicolai M. Josuttis Doc
C++ Templates: The Complete Guide, by David Vandevoorde, Nicolai M. Josuttis iBooks
C++ Templates: The Complete Guide, by David Vandevoorde, Nicolai M. Josuttis rtf
C++ Templates: The Complete Guide, by David Vandevoorde, Nicolai M. Josuttis Mobipocket
C++ Templates: The Complete Guide, by David Vandevoorde, Nicolai M. Josuttis Kindle
Tidak ada komentar:
Posting Komentar