Path: utzoo!attcan!uunet!olivea!decwrl!infopiz!lupine!rfg From: rfg@NCD.COM (Ron Guilmette) Newsgroups: comp.std.c++ Subject: Re: Conversion to |void*| and back: LEGAL Keywords: Sun, C++ Message-ID: <3453@lupine.NCD.COM> Date: 23 Jan 91 09:24:34 GMT References: <278A3278.1241@tct.uucp> <70023@microsoft.UUCP> <27975414.50A8@tct.uucp> Organization: Network Computing Devices, Inc., Mt. View, CA Lines: 17 In article <27975414.50A8@tct.uucp> chip@tct.uucp (Chip Salzenberg) writes: >Okay, here's another line of argument: > >ANSI C guarantees that any object pointer may be converted to |void *| >and back, and that the result will be equal to the original pointer. >The "Differences from ANSI C" section of the ARM (18.2) does not >rescind that guarantee. Therefore, it must still hold in C++. That's a bad assumption. I have already noted other ommisions from the list in 18.2. It is not a complete list. -- // Ron Guilmette - C++ Entomologist // Internet: rfg@ncd.com uucp: ...uunet!lupine!rfg // Motto: If it sticks, force it. If it breaks, it needed replacing anyway.