Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1287

Comment by HolyBlackCat on What is undefined behaviour in these pointer conversions?

$
0
0
@JanSchultke Yeah, just edited that in. My understanding is that casting to [u]intptr_t lets you compute the offset safely (in practice at least), but it's not enough to bless the + to jump between unrelated objects.

Viewing all articles
Browse latest Browse all 1287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>