Examines metaprogramming techniques in C++, highlighting implications for programming style.
The paper examines metaprogramming as a form of declarative programming with roots in Alonzo Church's lambda calculus. A comparison is drawn between metaprogramming in LISP and imperative programming in C++. The C++ template language is considered as an example of metaprogramming. Methods of C++ metaprogramming are examined: SFINAE, template specialisation, and others. A program solving the Abstract Factory design pattern problem formulated by A. Alexandrescu is demonstrated.
No takes yet. Share an insight, caveat, or question.
Trokhymchuk et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: