Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Quantitative Finance · Begrippenlijst

Wat is Strict aliasing?

Definition 8.2 Low-Latency Software · Hoofdstuk 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.

Lees in het hoofdstuk →