全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Quantitative Finance · 术语表

什么是 Strict aliasing?

Definition 8.2 Low-Latency Software · 第 8 章 — C++ for Latency III: The Compiler

Under the strict aliasing rule an object may be accessed only through an lvalue of its own type (or a closely related one: a signed or unsigned variant, a character type), so the compiler may assume that pointers to unrelated types never refer to the same memory. GCC applies the rule from -O2.

在原文中阅读 →