Tehničko veleučilište u Zagrebu · Zagreb

Evolution and Improvements in C++ Templates Since the C++11 Standard

stručni rad

stručni rad

Evolution and Improvements in C++ Templates Since the C++11 Standard

Vrsta prilog sa skupa (u zborniku)
Tip stručni rad
Godina 2024
Nadređena publikacija Zbornik radova CASE 2024 Razvoj poslovnih i informatičkih sustava
ISSN 1334-448X
Status prihvaćeno

Sažetak

This paper provides an overview of the major advances in C++ templates starting with the C++11 standard, showing how these advances have affected the field of generic programming. The paper thus presents improvements such as variadic templates, fold expressions, innovative implementation of concepts, etc. Each of these enhancements is examined for its role in improving code efficiency, type safety, and expressiveness, enabling the development of more concise, robust, and adaptable generic code. Through practical examples and analytical discussions, the paper demonstrates the essential role these template improvements play in modern C++ programming, effectively addressing complex challenges in software development. The paper highlights the impact of these evolutionary steps in C++ templates, underlining their importance in the broader context of programming language development and their utility in creating sophisticated software solutions. This review not only follows the progressive advancement of C++ templates but also provides insights into their practical application in software engineering practices.

Ključne riječi

C++ templates, Variadic templates, Fold expressions, C++ concepts, Template evolution