All books

Professional

Apps About Coach Log in Start reading

Quantitative Finance · Glossary

What is Compile-time evaluation?

Definition 7.3 Low-Latency Software · Chapter 7 — C++ for Latency II: Compile Time

Compile-time evaluation computes a value while compiling instead of while running: a constexpr function may be evaluated by the compiler when its arguments are constants, and a consteval function must be, so that its result is a constant embedded in the program.

Read in context →