Advanced Metaprogramming in Classic C++ aims to be both an introduction and a reference to C++ template metaprogramming (TMP); TMP is presented in the book as a set of techniques that will bring a new style in C++ and make code exceptionally clear and efficient. The book deals with language aspects, design patterns, examples and applications (seen as case studies). Special emphasis is put on small reusable techniques that will improve the quality of daily work.

What makes the book exceptional is the level of understanding of the concepts involved imparted by the author. This is not just a rote overview of metaprogramming. You will truly understand difficult topics like static assertions, how to write metafunctions, overload resolution, lambda expressions, and many others. More than that, you will work through them with practical examples guided by the author's frank explanations. This book requires you to think and to learn and to understand the language so that you can program at a higher level.



Inhalt

Part I

1. Templates

2. Small Object Toolkit

Part II

3. Static Programming

4. Overload Resolution

5. Interfaces

6. Algorithms

7. Code Generators

8. Functors

9. Opaque Type Principle

Part III

10. Refactoring

11. Debugging Templates

12. C++0X

13. Appendix A: Exercises

14. Appendix B: Bibliography

Titel
Advanced Metaprogramming in Classic C++
EAN
9781484210109
ISBN
978-1-4842-1010-9
Format
E-Book (pdf)
Hersteller
Herausgeber
Veröffentlichung
08.05.2015
Digitaler Kopierschutz
Wasserzeichen
Dateigrösse
3.48 MB
Anzahl Seiten
572
Jahr
2015
Untertitel
Englisch