Article View: comp.std.c++
Article #11Re: Zero-length structures and pointer comparisons
From: Jim Adcock
Date: Fri, 30 Oct 1992 00:17
Date: Fri, 30 Oct 1992 00:17
8 lines
910 bytes
910 bytes
In article <1992Oct28.180039.20655@ucc.su.OZ.AU> maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes: | Yes, but IF the language required a total ordering the |compiler would be REQUIRED to normalise the pointers Not true. The compiler can be written in such a manner that no strictly conforming program can legally result in a denormalized pointer. Then the compiler has no requirement to perform normalization -- because such could only be a result of a not strictly conforming program.
Technical Details
Message-ID:
<1992Oct30.001706.9931@microsoft.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!microsoft!hexnut!jimadReferences:
<1992Oct23.064817.2648@ucc.su.OZ.AU> <23986@alice.att.com> <1992Oct28.180039.20655@ucc.su.OZ.AU>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c++ Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!hexnut!jimad From: jimad@microsoft.com (Jim Adcock) Subject: Re: Zero-length structures and pointer comparisons Message-ID: <1992Oct30.001706.9931@microsoft.com> Date: 30 Oct 92 00:17:06 GMT Organization: Microsoft Corporation References: <1992Oct23.064817.2648@ucc.su.OZ.AU> <23986@alice.att.com> <1992Oct28.180039.20655@ucc.su.OZ.AU> Lines: 9