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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ON THE ISSUE OF FUNCTIONAL STYLE IN METAPROGRAMMING IN C++

Volodymyr Boublik, Artem Trokhymchuk
Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
article

ON THE ISSUE OF FUNCTIONAL STYLE IN METAPROGRAMMING IN C++

Volodymyr Boublik, Artem Trokhymchuk
article en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
National University of Kyiv-Mohyla Academy (UA)
Openalex Percentile: Top 6%
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.