When is a cast not a cast?

Peter da Silva peter at ficc.uu.net
Thu May 18 06:18:02 AEST 1989


In article <561 at biar.UUCP>, trebor at biar.UUCP (Robert J Woodhead) writes:
> Unfortunately, all the examples you provide depend on the various pointers
> pointing into a particular data structure.

Which is also true of pointer subtraction.

Personally, I'm against pointer addition until such time as a reasonable
type for the result can be found. It is not a pointer.
-- 
Peter da Silva, Xenix Support, Ferranti International Controls Corporation.

Business: uunet.uu.net!ficc!peter, peter at ficc.uu.net, +1 713 274 5180.
Personal: ...!texbell!sugar!peter, peter at sugar.hackercorp.com.



More information about the Comp.lang.c mailing list