Maven (famous)@lemmy.world to Programmer Humor · 10 months agoSTOP WRITING Clemmy.worldimagemessage-square155fedilinkarrow-up1847arrow-down160
arrow-up1787arrow-down1imageSTOP WRITING Clemmy.worldMaven (famous)@lemmy.world to Programmer Humor · 10 months agomessage-square155fedilink
minus-squareanzich@feddit.delinkfedilinkarrow-up2arrow-down1·10 months agoIt’s actually nonstandard. Use memcpy
minus-squarekevincoxlinkfedilinkarrow-up1·10 months agoWell it is standard. The standard says that it is undefined behaviour. But I guess you are right that some compilers have non-standard options to make it not undefined behaviour.
It’s actually nonstandard. Use memcpy
Well it is standard. The standard says that it is undefined behaviour. But I guess you are right that some compilers have non-standard options to make it not undefined behaviour.