Free Downloads
C++ Templates: The Complete Guide

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++.

Hardcover: 552 pages

Publisher: Addison-Wesley Professional; 1 edition (November 22, 2002)

Language: English

ISBN-10: 0201734842

ISBN-13: 978-0201734843

Product Dimensions: 7.6 x 1.4 x 9.4 inches

Shipping Weight: 2.2 pounds (View shipping rates and policies)

Average Customer Review: 4.7 out of 5 stars  See all reviews (41 customer reviews)

Best Sellers Rank: #401,107 in Books (See Top 100 in Books) #5 in Books > Computers & Technology > Programming > Languages & Tools > C & C++ > Visual C++ #251 in Books > Computers & Technology > Programming > Languages & Tools > C & C++ > C++ #270 in Books > Computers & Technology > Programming > Microsoft Programming > C & C++ Windows Programming

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.

Non Fiction Writing Templates: 44 Tips to Create Your Own Non Fiction Book (Writing Templates, Writing Non Fiction, Kindle Publishing) Fiction Writing Templates: 30 Tips to Create Your Own Fiction Book (Writing Templates, Fiction Writing, Kindle Publishing) C++ Templates: The Complete Guide C++ Templates: The Complete Guide, Portable Documents The Complete Marriage Green Card Kit: A Step-By-Step Guide With Templates and Tools to Becoming a Permanent Resident of the United States Microsoft Word 2010 Templates & Macros Quick Reference Guide (Cheat Sheet of Instructions, Tips & Shortcuts - Laminated Card) Microsoft Word 2013 Templates & Forms Quick Reference Guide (Cheat Sheet of Instructions, Tips & Shortcuts - Laminated Card) God Dreams: 12 Vision Templates for Finding and Focusing Your Church's Future Joomla! Templates (Joomla! Press) Blogger: Beyond the Basics: Customize and promote your blog with original templates, analytics, advertising, and SEO (From Technologies to Solutions) 300+ Mosaic Tips, Techniques, Templates and Trade Secrets Easy-to-Make Christmas and Holiday Lightcatchers: With Full-Size Templates for 66 Stained Glass Projects (Dover Stained Glass Instruction) Advanced Professional Web Design: Techniques & Templates (CSS & XHTML) (Charles River Media Internet) Step-by-Step Mosaics & How to Embellish Glass & Ceramics: 165 Original And Stylish Projects To Decorate The Home And Garden, Illustrated With More ... Templates And Easy-To-Follow Instructions Acoustic Guitar Making: How to make Tools, Templates, and Jigs Templates For 95% Bar Essays: Reaching the 'A' grade on a law school exam or bar essay involves two simple things: Follow the template and second, follow it well. Federal Rules of Evidence: with Advisory Committee Notes & Rule 502 Non-Waiver Templates (2017 Edition) HOA WARRIOR II: Responding to Pets, Paint, & Parking in Your HOA: (templates, forms, letters, and philosophy to use when dealing with your board or when you become the board) Color Me Fearless: Nearly 100 Coloring Templates to Boost Strength and Courage (A Zen Coloring Book) Color Me To Sleep: Nearly 100 Coloring Templates to Promote Relaxation and Restful Sleep (A Zen Coloring Book)