>>>>> "Vincent" == Vincent Lefevre <[EMAIL PROTECTED]> writes:
Vincent> On 2005-07-12 23:42:23 +0200, Erik Trulsson wrote:
>> Pointer subtraction is only well defined if both pointers point to
>> elements in the same array (or one past the end of the array).
Vincent> I don't know what you mean by "well defined", but even in
Vincent> this case, the behavior can be undefined. So, replacing a <
Vincent> b by a - b < 0 is not guaranteed to work with every
Vincent> implementation, just like with integers.
Are you sayinvg that a-b is not always "guaranteed to work" when a and
b point to elements of the same array? That sounds wrong; can you
given an example or standards text that supports this?
paul