Metaprogramming consists of programming a program. In other words, you lay out code that the programming system executes to generate new code that implements the functionality you really want. Usually ...
A meta-program is "executed" as the result of template instantiation (therefore, before compiled code is produced). Meta-program results are then compiled and merged into object code, including any ...
C++ templates are all about generic programming, but not the type of generics you may be familiar with from C# and Java. This is the first in a series on C++ generic programming. I'll start with an ...