C++ Templates
The Complete Guide
- Format: Innbundet
- Antall sider: 832
- Språk: Engelsk
- Forlag/Utgiver: SD Books
- EAN: 9780321714121
- Utgivelsesår: 2017
- Bidragsyter: Vandevoorde, David; Josuttis, Nicolai; Gregor, Douglas
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