Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Quantitative Finance · Glosarium

Apa itu Compile-time evaluation?

Definition 7.3 Low-Latency Software · Bab 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.

Baca dalam konteks →