pointer aliasing

1.4k Views Asked by At

what is the difference between "Strict", "Typed", "Restricted" and "Disjointed" aliasing?

1

There are 1 best solutions below

0
On BEST ANSWER

In "Strict aliasing", pointers don't alias if they are different types.
In "Typed aliasing", pointers of the same type can alias and overlap.
In "Restricted aliasing", pointers of same type are assumed to not overlap.
In "Disjointed aliasing", all pointer expressions result in no overlap.