Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Quantitative Finance · Glossário

O que é Strict aliasing?

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

Ler no capítulo →