Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Quantitative Finance · Glossário

O que é Compile-time evaluation?

Definition 7.3 Low-Latency Software · Capítulo 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.

Ler no capítulo →