I was playing around with meta-programming and wrote towers of hanoi, outputting the moves as digits in a long long. Because of the method of output it only supports n up to 3.<BR><BR>I also wrote a ...
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 ...
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 ...
Vlodymyr teaches at Brandenburg University of Technology, Cottbus, Germany. He can be reached at myrnyy@math.tu-cottbus.de. This article provided courtesy ofDr. Dobb’s Journal. This article describes ...