3 ms·
Any kind of relative/offset pointers require negative pointer arithmetic. https://www.gingerbill.org/article/2020/05/17/relative-pointers/ https://www.gingerbil
by mandarax8 1y ago
Any kind of relative/offset pointers require negative pointer arithmetic. https://www.gingerbill.org/article/2020/05/17/relative-pointers/ https://www.gingerbill.org/article/2020/05/17/relative-point...
- poly2it 1y agoI don't think you can make such a broad statement and be correct in all cases. Negative pointer arithmetic is not by itself a reason to use signed types, except if you are: 1. Certain your added value is negative. 2. Checking for underflows after computation, which you shouldn't. The article was interesting.