On Thursday 04 October 2001 11:22 am, Dan Sugalski wrote: > At 11:16 AM 10/4/2001 -0400, Bryan C. Warnock wrote: > >Since pointers and integers are now considered incommensurate, the only > >integer that can be safely converted to a pointer is the constant 0. > > The result of converting any other integer to a pointer is machine > > dependent. > > Since the only place we're going to be doing that is in the memory > allocator, which is potentially profoundly machine-dependent, I'm OK with > doing what'd otherwise be considered an Evil Thing With Pointers. It's all > hidden in memory.c.
So long as it's contained, replaceable, documented, and can't be done (easily) with normal pointer arithmetic [1], the Language Police will back off. :-) [1] Like bit-operations to find the base address of a block.. -- Bryan C. Warnock [EMAIL PROTECTED]
