Everything About ___
Live briefing

Everything about Compile-time function execution

Feature of some compilers

In computing, compile-time function execution is the ability of a compiler, that would normally compile a function to machine code and execute it at run time, to execute the function at compile time. This is possible if the arguments to the function are known at compile time, and the function does not make any reference to or attempt to modify any global state. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Compile-time function executionA 5-minute orientation
  2. Pick up a classic book: C How to ProgramThe most-reprinted book on the subject
  3. Go sideways: Variadic templateA closely related topic
  4. Go sideways: ConstexprA closely related topic

đź“– Definitions

No dictionary entry for this exact phrase.

🗂️ The subject at a glance

  1. Examples

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics