Automated Migration of Legacy Code from the C++14 to C++23 Standard
Aleksander Świniarski, Anna Derezińska
2025
Abstract
The continuous development of the C++ programming language results in changes in many programming features from one version to another. Therefore, we face a growing increase in maintenance and evolution costs. To address this problem, a set of removed and deprecated programming features was examined, and automating of the feature migration was proposed. A transpiler has been developed that transforms a C++ code from a legacy form to its latest standard. The CppUp tool translates a C++14 program into its equivalent C++23. The current version of the tool supports 17 removed and 3 deprecated features. The restrictions of the tool limit its practical application, but the experiments conducted on seven real-world programs confirmed the reliability and usability of the transpiler.
DownloadPaper Citation
in Harvard Style
Świniarski A. and Derezińska A. (2025). Automated Migration of Legacy Code from the C++14 to C++23 Standard. In Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE; ISBN 978-989-758-742-9, SciTePress, pages 549-556. DOI: 10.5220/0013298000003928
in Bibtex Style
@conference{enase25,
author={Aleksander Świniarski and Anna Derezińska},
title={Automated Migration of Legacy Code from the C++14 to C++23 Standard},
booktitle={Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE},
year={2025},
pages={549-556},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013298000003928},
isbn={978-989-758-742-9},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE
TI - Automated Migration of Legacy Code from the C++14 to C++23 Standard
SN - 978-989-758-742-9
AU - Świniarski A.
AU - Derezińska A.
PY - 2025
SP - 549
EP - 556
DO - 10.5220/0013298000003928
PB - SciTePress