From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5095dad989e89e23 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-12 12:28:09 PST Path: supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub.sdsu.edu!209.68.192.203!ragnarok.cts.com!thoth.cts.com!not-for-mail From: Keith Thompson Newsgroups: comp.lang.ada Subject: Re: Does a null pointer always raise Constraint_Error? Date: 12 Dec 2000 12:27:46 -0800 Organization: CTSnet Internet Services Sender: kst@king.cts.com Message-ID: References: <9074fi$93b$1@nnrp1.deja.com> <3A3253B1.AD8F32CF@ebox.tninet.se> <90u1vi$uah$1@nnrp1.deja.com> <90ukfm$c4p$1@nnrp1.deja.com> <3A36511D.973D82BD@nowhere.com> X-Trace: thoth.cts.com 976652866 5755 205.163.0.22 (12 Dec 2000 20:27:46 GMT) X-Complaints-To: abuse@cts.com X-Newsreader: Gnus v5.5/Emacs 20.3 Xref: supernews.google.com comp.lang.ada:3007 Date: 2000-12-12T12:27:46-08:00 List-Id: Wayne Magor writes: [...] > I remember with one Ada compiler I wanted to make null to be a > pointer to a zero-length segment so the null check would be > unnecessary (the hardware would do it for you). Would a zero-length segment be a good way to represent a zero-size object? If so, a pointer to a zero-length segment might be valid. -- Keith Thompson (The_Other_Keith) kst@cts.com San Diego Supercomputer Center <*> Welcome to the last year of the 20th century.