Skip to main content

One doc tagged with "strict-aliasing"

View all tags

Strict Aliasing Rule

Pointers of different types cannot point to the same memory (with exceptions). Enables compiler optimizations but causes undefined behavior when violated.