Preface
Template Metaprogramming (TMP from here on) is a new way of using C++:
- It has a scope: a known set of problems where it proves useful.
- It has a philosophy: a peculiar way of thinking about problems.
- It has a language: idioms and patterns.
This book, according to the 80-20 law, aims to be an introduction to the first 20% of metaprogramming—its philosophy, scope, and language—that can improve 80% of daily programming activities. All the chapters are driven by some simple ideas:
- With modern compilers, most practical benefits come from simple techniques, when correctly applied.
- TMP indeed produces better software. “Better” is simply a placeholder for faster, safer, more maintainable, more expressive, or a combination of these features. ...
Get Advanced Metaprogramming in Classic C++ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.