Tutorial by Topics: metaprogramming

In C++ Metaprogramming refers to the use of macros or templates to generate code at compile-time. In general, macros are frowned upon in this role and templates are preferred, although they are not as generic. Template metaprogramming often makes use of compile-time computations, whether via templ...
macro name(ex) ... end quote ... end :(...) $x Meta.quot(x) QuoteNode(x) esc(x) Julia’s metaprogramming features are heavily inspired by those of Lisp-like languages, and will seem familiar to those with some Lisp background. Metaprogramming is very powerful. When used correctly, it ...
Metaprogramming can be described in two ways: “Computer programs that write or manipulate other programs (or themselves) as their data, or that do part of the work at compile time that would otherwise be done at runtime”. More simply put: Metaprogramming is writing code that writes code during run...
These are example of using C++ template metaprogramming in processing arithmitic operations in compile time.

Page 1 of 1