C++ Templates. Developer's Reference
Author: Дэвид Вандевурд, Николаи Джосаттис, Дуглас Грегор
Printhouse: Dialektika
Age restrictions: 16+
Year of publication: 2020
ISBN: 9785950029684
Number of pages: 848
Size: 240х170х40 mm
Cover type: hard
Weight: 1208 g
ID: 1748628
Templates are one of the strongest features of C++, yet they remain underutilized and often misunderstood, despite the ever-growing level of both the C++ language and the community of programmers using it. In the second edition of the book, three authors, who are experts in the field, demonstrate why, when, and how to use modern templates to create software that is more understandable, faster, efficient, and easy to maintain._x000D_ This edition describes the new features of the C++11, C++14, and C++17 standards and showcases the latest advancements in C++ templates for creating a wide range of applications. The authors thoroughly explain all the new language features that enhance templates or interact with them, covering topics such as variadic templates, generalized lambda expressions, template argument deduction, compile-time if constructs, forwarding references, and user-defined literals. They also delve deeply into the fundamental concepts of the language (such as value categories) and fully cover the standard properties of types._x000D_ The book begins with a thorough tutorial that describes the core concepts and related capabilities of the programming language. The remainder of the book serves as a comprehensive reference, addressing both the details of the language and coding techniques, advanced technologies, and complex idioms of C++ template programming. Numerous source code examples illustrate abstract concepts and best practices for maximizing the benefits of C++ templates.