Amazon cover image
Image from Amazon.com

C++ templates : the complete guide / David Vandevoorde, Nicolai M. Josuttis, Douglas Gregor.

By: Contributor(s): Publisher: Boston : Addison-Wesley, ©2018Edition: Second editionDescription: xxxiv, 788 pages : illustrations ; 24 cmContent type:
  • text
Media type:
  • unmediated
Carrier type:
  • volume
ISBN:
  • 9780321714121
Subject(s): Genre/Form: LOC classification:
  • QA76.73.C153 V37 2018
Contents:
Part I. The Basics: Function Templates ; Class Templates ; Nontype Template Parameters ; Variadic Templates ; Tricky Basics ; Move Semantics and enable_if<> ; By Value or by Reference? ; Compile-Time Programming ; Using Templates in Practice ;Basic Template Terminology ; Generic Libraries -- Part II. Templates in Depth: Fundamentals in Depth ; Names in Templates ; Instantiation ; Template Argument Deduction ; Specialization and Overloading ; Future Directions -- Part III. Templates and Design: The Polymorphic Power of Templates ; Implementing Traits ; Overloading on Type Properties ; Templates and Inheritance ; Bridging Static and Dynamic Polymorphism ; Metaprogramming ; Typelists ; Tuples ; Discriminated Unions ; Expression Templates ; Debugging Templates -- Appendixes: A. The One-Definition Rule ; B. Value Categories ; C. Overload Resolution ; D. Standard Type Utilities ; E. Concepts
Summary: 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++. -- Provided by publisher.
Item type: BOOKS
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Current library Home library Call number Status Barcode
Alfaisal University On Shelf Alfaisal University On Shelf QA76.73.C153 V37 2018 (Browse shelf(Opens below)) Available AU00000000013261
Total holds: 0
Browsing Alfaisal University shelves, Shelving location: On Shelf Close shelf browser (Hides shelf browser)
QA76.73.C153 P72 2005 C++ primer plus / QA76.73.C153 S564 2022 Practical C++ design : QA76.73 .C153 S76 2018 A tour of C++ / QA76.73.C153 V37 2018 C++ templates : QA76.73.C153 W5513 2019 C++ concurrency in action / QA76.73 .C154 A48 2021 C# 9.0 in a Nutshell QA76.73.C154 G75 2019 Programming C# 8.0 :

Includes bibliographical references and index.

Part I. The Basics: Function Templates ; Class Templates ; Nontype Template Parameters ; Variadic Templates ; Tricky Basics ; Move Semantics and enable_if<> ; By Value or by Reference? ; Compile-Time Programming ; Using Templates in Practice ;Basic Template Terminology ; Generic Libraries -- Part II. Templates in Depth: Fundamentals in Depth ; Names in Templates ; Instantiation ; Template Argument Deduction ; Specialization and Overloading ; Future Directions -- Part III. Templates and Design: The Polymorphic Power of Templates ; Implementing Traits ; Overloading on Type Properties ; Templates and Inheritance ; Bridging Static and Dynamic Polymorphism ; Metaprogramming ; Typelists ; Tuples ; Discriminated Unions ; Expression Templates ; Debugging Templates -- Appendixes: A. The One-Definition Rule ; B. Value Categories ; C. Overload Resolution ; D. Standard Type Utilities ; E. Concepts

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++. -- Provided by publisher.

Copyright © 2020 Alfaisal University Library. All Rights Reserved.
Tel: +966 11 2158948 Fax: +966 11 2157910 Email:
librarian@alfaisal.edu