Programming at Compile Time
Ray Lischner
Abstract
Ray Lischner
Abstract
C++ offers many opportunities to write code that runs at compile time instead of at runtime. Templates, for example, provide a unique, functional programming environment, albeit one with a tortuous syntax. In C++ 20, some new keywords offer more precise ways for you to control what takes place at compile time instead of runtime. Some compile-time programming techniques are called metaprogramming, but this term is loosely defined and some may use it exclusively for programming with types instead of values. However you name it, compile-time programming is a valuable aspect of overall C++ programming.
OpenAlex reports 1 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
C++ offers many opportunities to write code that runs at compile time instead of at runtime. Templates, for example, provide a unique, functional programming environment, albeit one with a tortuous syntax. In C++ 20, some new keywords offer more precise ways for you to control what takes place at compile time instead of runtime. Some compile-time programming techniques are called metaprogramming, but this term is loosely defined and some may use it exclusively for programming with types instead of values. However you name it, compile-time programming is a valuable aspect of overall C++ programming.
Key concepts: Compile time, Computer science, Compiler, Programming language, Template, Metaprogramming, Syntax, Generic programming