Skip to content

C++ Templates: The Complete Guide
Stock Photo: Cover May Be Different

C++ Templates: The Complete Guide Hardcover - 2017

by David Vandevoorde; Nicolai Josuttis; Douglas Gregor

With the greatly increased use of templates, there is a real need in the C++ community for this information. This book is the next C++ classic, acting as both a complete reference as well as a tutorial. It emphasizes the practical use of templates, and includes real-world examples.


From the publisher

Templates are among the most powerful features of C++, but they remain misunderstood and underutilized, even as the C++ language and development community have advanced. In C++ Templates, Second Edition, three pioneering C++ experts show why, when, and how to use modern templates to build software that's cleaner, faster, more efficient, and easier to maintain.

Now extensively updated for the C++11, C++14, and C++17 standards, this new edition presents state-of-the-art techniques for a wider spectrum of applications. The authors provide authoritative explanations of all new language features that either improve templates or interact with them, including variadic templates, generic lambdas, class template argument deduction, compile-time if, forwarding references, and user-defined literals. They also deeply delve into fundamental language concepts (like value categories) and fully cover all standard type traits.

The book starts with an insightful tutorial on basic concepts and relevant language features. The remainder of the book serves as a comprehensive reference, focusing first on language details and then on coding techniques, advanced applications, and sophisticated idioms. Throughout, examples clearly illustrate abstract concepts and demonstrate best practices for exploiting all that C++ templates can do.

  • Understand exactly how templates behave, and avoid common pitfalls
  • Use templates to write more efficient, flexible, and maintainable software
  • Master today's most effective idioms and techniques
  • Reuse source code without compromising performance or safety
  • Benefit from utilities for generic programming in the C++ Standard Library
  • Preview the upcoming concepts feature

The companion website, tmplbook.com, contains sample code and additional updates.

From the rear 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 learnThe exact behaviors of templatesHow to avoid the pitfalls associated with templatesIdioms and techniques, from the basic to the previously undocumentedHow to reuse source code without threatening performance or safetyHow to increase the efficiency of C++ programsHow 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

Details

  • Title C++ Templates: The Complete Guide
  • Author David Vandevoorde; Nicolai Josuttis; Douglas Gregor
  • Binding Hardcover
  • Edition 2nd edition.
  • Pages 832
  • Volumes 1
  • Language ENG
  • Publisher Addison-Wesley Professional, New Jersey
  • Date 2017-09-08
  • Illustrated Yes
  • Features Bibliography, Glossary, Illustrated, Index
  • ISBN 9780321714121 / 0321714121
  • Weight 3.3 lbs (1.50 kg)
  • Dimensions 9.2 x 7.7 x 1.9 in (23.37 x 19.56 x 4.83 cm)
  • Library of Congress subjects C++ (Computer program language)
  • Library of Congress Catalog Number 2017946531
  • Dewey Decimal Code 005.268

About the author

David Vandevoorde started programming C++ in the late 1980s. After obtaining a PhD from the Rensselaer Polytechnic Institute, he became technical lead of Hewlett-Packard's C++ compiler team. In 1999 he joined the Edison Design Group (EDG), whose C++ compiler technology is widely recognized as the industry's most advanced. He is an active member of the C++ Standard Committee and a moderator of the newsgroup comp.lang.c++.moderated (which he co-founded). He is the author of C++ Solutions, the companion to The C++ Programming Language, 3rd Edition.

Nicolai M. Josuttis is well known for his best-selling de-facto standard bookThe C++ Standard Library - A Tutorial and Reference. He 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++ Standard Committee and a partner at System Bauhaus, a German group of prominent object-oriented system development experts. Josuttis has written several other books on object-oriented programming and C++.

Douglas Gregor is Senior Swift/C++/Objective-C Compiler Engineer at Apple. He holds a PhD in computer science from Rensselaer Polytechnic Institute, and did post-doctoral work at Indiana University.

Back to Top

More Copies for Sale

C++ Templates: The Complete Guide
Stock Photo: Cover May Be Different

C++ Templates: The Complete Guide

by Vandevoorde, David, Josuttis, Nicolai, Gregor, Douglas

  • Used
  • good
Condition
Used - Good
Edition
2
ISBN 10 / ISBN 13
9780321714121 / 0321714121
Quantity Available
4
Seller
Philadelphia, Pennsylvania, United States
Seller rating:
This seller has earned a 4 of 5 Stars rating from Biblio customers.
Item Price
NZ$73.90
FREE shipping to USA

Show Details

Description:
Addison-Wesley Professional. 2. Good. Good. Ship within 24hrs. Satisfaction 100% guaranteed. APO/FPO addresses supported
Item Price
NZ$73.90
FREE shipping to USA
C++ Templates: The Complete Guide
Stock Photo: Cover May Be Different

C++ Templates: The Complete Guide

by Vandevoorde, David; Josuttis, Nicolai; Gregor, Douglas

  • Used
  • very good
Condition
Used - Very Good
Edition
2
ISBN 10 / ISBN 13
9780321714121 / 0321714121
Quantity Available
1
Seller
Philadelphia, Pennsylvania, United States
Seller rating:
This seller has earned a 4 of 5 Stars rating from Biblio customers.
Item Price
NZ$77.11
FREE shipping to USA

Show Details

Description:
Addison-Wesley Professional. 2. Very Good. Very Good. Ship within 24hrs. Satisfaction 100% guaranteed. APO/FPO addresses supported
Item Price
NZ$77.11
FREE shipping to USA
C++ Templates: The Complete Guide

C++ Templates: The Complete Guide

by Gregor, Douglas

  • Used
  • very good
  • Hardcover
Condition
Used - Very Good
Binding
Hardcover
ISBN 10 / ISBN 13
9780321714121 / 0321714121
Quantity Available
1
Seller
GORING BY SEA, West Sussex, United Kingdom
Seller rating:
This seller has earned a 2 of 5 Stars rating from Biblio customers.
Item Price
NZ$99.82
NZ$18.31 shipping to USA

Show Details

Description:
Hardback. Very Good.
Item Price
NZ$99.82
NZ$18.31 shipping to USA
Customers who searched for ISBN 9780321714121 might also be interested in this item:
International Edition
Intl. Ed.

C++ Templates: The Complete Guide, 2nd

by David Vandevoorde, Nicolai M. Josuttis, Douglas Gregor

  • New
  • Paperback
Note
International Edition
Condition
New
Edition
2nd edition
Binding
Paperback
Quantity Available
50
Seller
Mongkok, Hong Kong
Seller rating:
This seller has earned a 5 of 5 Stars rating from Biblio customers.
Item Price
NZ$85.38
NZ$8.51 shipping to USA

Show Details

Description:
***INTERNATIONAL EDITION*** Read carefully before purchase: This book is the international edition in mint condition with the different ISBN and book cover design, the major content is printed in full English as same as the original North American edition. The book printed in black and white, generally send in twenty-four hours after the order confirmed. All shipments contain tracking numbers. Great professional textbook selling experience and expedite shipping service.
Item Price
NZ$85.38
NZ$8.51 shipping to USA
C++ Templates: The Complete Guide
Stock Photo: Cover May Be Different

C++ Templates: The Complete Guide

by Vandevoorde, David; Josuttis, Nicolai; Gregor, Douglas

  • Used
  • Hardcover
Condition
Like New
Binding
Hardcover
ISBN 10 / ISBN 13
9780321714121 / 0321714121
Quantity Available
1
Seller
Stamford, Connecticut, United States
Seller rating:
This seller has earned a 5 of 5 Stars rating from Biblio customers.
Item Price
NZ$102.72
NZ$8.54 shipping to USA

Show Details

Description:
Addison-Wesley Professional. hardcover. Like New. 7x1x9. Looks unread with just a touch of shelf wear oversized and overweight. Please email for photos.
Item Price
NZ$102.72
NZ$8.54 shipping to USA
C++ Templates: The Complete Guide
Stock Photo: Cover May Be Different

C++ Templates: The Complete Guide

by Vandevoorde, David/ Josuttis, Nicolai M./ Gregor, Doug

  • New
  • Hardcover
Condition
New
Binding
Hardcover
ISBN 10 / ISBN 13
9780321714121 / 0321714121
Quantity Available
2
Seller
Exeter, Devon, United Kingdom
Seller rating:
This seller has earned a 4 of 5 Stars rating from Biblio customers.
Item Price
NZ$168.70
NZ$21.36 shipping to USA

Show Details

Description:
Addison-Wesley Professional, 2017. Hardcover. New. 2nd edition. 800 pages. 9.50x8.00x2.00 inches.
Item Price
NZ$168.70
NZ$21.36 shipping to USA
C++ Templates: The Complete Guide
Stock Photo: Cover May Be Different

C++ Templates: The Complete Guide

by Vandevoorde, David

  • New
Condition
New
ISBN 10 / ISBN 13
9780321714121 / 0321714121
Quantity Available
3
Seller
Victoria, British Columbia, Canada
Seller rating:
This seller has earned a 5 of 5 Stars rating from Biblio customers.
Item Price
NZ$153.73
NZ$25.61 shipping to USA

Show Details

Description:
Addison-Wesley Professional. New. Special order direct from the distributor
Item Price
NZ$153.73
NZ$25.61 shipping to USA
C++ Templates: The Complete Guide (2nd Edition)
Stock Photo: Cover May Be Different

C++ Templates: The Complete Guide (2nd Edition)

by Vandevoorde, David; Josuttis, Nicolai M.; Gregor, Douglas

  • Used
  • good
  • Hardcover
Condition
Used - Good
Binding
Hardcover
ISBN 10 / ISBN 13
9780321714121 / 0321714121
Quantity Available
2
Seller
Franklin Lakes, New Jersey, United States
Seller rating:
This seller has earned a 5 of 5 Stars rating from Biblio customers.
Item Price
NZ$200.47
NZ$6.66 shipping to USA

Show Details

Description:
Addison-Wesley Professional, 2017-09-18. Hardcover. Good. Textbook, May Have Highlights, Notes and/or Underlining, BOOK ONLY-NO ACCESS CODE, NO CD, Ships with Emailed Tracking
Item Price
NZ$200.47
NZ$6.66 shipping to USA