3 Comments
User's avatar
Yacob Cohen-Arazi's avatar

nice, and apparently I'm not the only one that is using memcpy instead of reinterpret_cast ;)

Yes, I always show assembly to the ones that have doubts.

Expand full comment
Taras Tsugrii's avatar

yes, having UB because of `reinterpret_cast` is not our style :) Btw, showing assembly is a double-edge sword since it's often used as a "proof" that certain UBs "work" :)

Expand full comment
Yacob Cohen-Arazi's avatar

yeah. I know ...

Expand full comment