top | item 7801182

(no title)

gosu | 11 years ago

By storing the struct in union with an integral type - or, if you need a value but not an address, casting to such a union. You might also think to just abuse pointer casting, but IIRC that breaks C strict aliasing assumptions and causes GCC's optimizations to do bad things to your program.

discuss

order

No comments yet.