Re: type_size_sort
- From
- Morten Welinder <mwelinder@gmail.com>
- Date
- Dec 7, 2005, 03:01 UTC
- Message-ID
- <118833cc0512061901p565de8a8x5543c95903cd6c2a@mail.gmail.com>
- In-Reply-To
- <7vmzjdy721.fsf@assigned-by-dhcp.cox.net>
> Notice? The comparison of two pointers you originally pointed > out is not about the location in list[]. They are values stored > there.
Ah, right you are.
Mildly relatedly, notice that a<b can be valid when a-b<0 is not. ptrdiff_t is not required to be big enough to hold the difference! (A highly dubious part of the C standard.)
M.