全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Quantitative Finance · 术语表

什么是 Compile-time evaluation?

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

在原文中阅读 →