Y
Hacker News
new
|
ask
|
show
|
jobs
by
orra
2786 days ago
I don't think so. My guess would be that it is because a pointer to the struct can be cast to a pointer to T. I /think/ that is defined behaviour.
1 comments
int0x80
2786 days ago
It is:
https://port70.net/~nsz/c/c99/n1256.html#6.7.2.1p13
link