On 20 December 2006 00:39, Manuel López-Ibáñez wrote:
> On 20/12/06, Dave Korn <[EMAIL PROTECTED]> wrote:
>> Heh. Or you could always make it a divide-by-zero error instead :)
>
> Oh, sorry. I didn't get this. If you would be so kind to elaborate...
Possibly the world's only attempt ever at C pointer-arithmetic humour, and
now we know why. Ordered comparison of pointers amounts to pointer subtraction
which is done in units of the size of the pointed-to type and the sizeof void
is zero[*].
cheers,
DaveK
[*] - Or conceivably NaN.
--
Can't think of a witty .sigline today....