ON THE ISSUE OF FUNCTIONAL STYLE IN METAPROGRAMMING IN C++
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.
Authors
- Volodymyr Boublik (ORCID: https://orcid.org/0000-0002-9009-5730)
- Artem Trokhymchuk
Institutions
- National University of Kyiv-Mohyla Academy (UA)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-07-22
- DOI
- https://doi.org/10.5281/zenodo.21497339
- Primary Topic
- Logic, programming, and type systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00