3 ms·
You already know this, but I would add that under strict aliasing rules, this is only valid because x and y point to the same type. The most common example is
by pafje 4y ago
You already know this, but I would add that under strict aliasing rules, this is only valid because x and y point to the same type.
The most common example is when y is float* and someone tries to access its bitwise representation via an int*.
(Please correct me if I'm wrong)
https://gist.github.com/shafik/848ae25ee209f698763cffee272a58f8 https://gist.github.com/shafik/848ae25ee209f698763cffee272a5...