AA.VV.
C++ Templates: The Complete Guide
Addison Wesley
100,00
9780321714121
0
8
53
SCIENZA E TECNOLOGIA
Scienze e tecnologia
AA.VV.
C++ Templates: The Complete Guide
Editore: Addison Wesley
Prezzo: 100,00 €
Anno di pubblicazione: 2017
Tipologia: Libro
Scaffale: SCIENZA E TECNOLOGIA
Settore: Scienze e tecnologia
EAN: 9780321714121
Descrizione
Templates are among the most powerful features of C++, but they remain misunders tood and underutilized, even as the C++ language and development community have advanced. In C++ Templates, Second Edition, three pioneering C++ experts show wh y, when, and how to use modern templates to build software that’s cleaner, faste r, 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 tec hniques for a wider spectrum of applications. The authors provide authoritative explanations of all new language features that either improve templates or inter act with them, including variadic templates, generic lambdas, class template arg ument deduction, compile-time if, forwarding references, and user-defined litera ls. They also deeply delve into fundamental language concepts (like value catego ries) and fully cover all standard type traits. The book starts with an insi ghtful tutorial on basic concepts and relevant language features. The remainder of the book serves as a comprehensive reference, focusing first on language deta ils and then on coding techniques, advanced applications, and sophisticated idio ms. Throughout, examples clearly illustrate abstract concepts and demonstrate be st practices for exploiting all that C++ templates can do. Understand exactl y how templates behave, and avoid common pitfalls Use templates to write more efficient, flexible, and maintainable software Master today’s most effective i dioms and techniques Reuse source code without compromising performance or saf ety 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.