views:

136

answers:

1
+1  Q: 

pointer aliasing

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

+3  A: 

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.

salman