|
|
|
|
|
by pafje
1299 days 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/848ae25ee209f698763cffee272a5... |
|