home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!spool.mu.edu!umn.edu!myria.cs.umn.edu!hansen
- From: hansen@myria.cs.umn.edu (David Hansen)
- Subject: Re: Is this a compiler bug?
- Message-ID: <1992Dec16.012747.27485@news2.cis.umn.edu>
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: myria.cs.umn.edu
- Organization: University of Minnesota
- References: <AC.92Dec6175233@ludwig.it.apollo.hp.com> <1992Dec8.183122.1@vax1.bham.ac.uk> <KANZE.92Dec14211143@slsvdnt.us-es.sel.de>
- Date: Wed, 16 Dec 1992 01:27:47 GMT
- Lines: 14
-
- In article <KANZE.92Dec14211143@slsvdnt.us-es.sel.de>, kanze@us-es.sel.de (James Kanze) writes:
- |> Although the parts you quote are from the comments, and as such, not
- |> strictly part of the standard, in section 4.8, it explicitly says that
- |> "A constant expression that evaluates to zero is converted to a
- |> pointer to member. It is guaranteed that this value will produce a
- |> pointer to member distinguishable from any other pointer to member."
- |> Which is exactly the phrasing used when defining a NULL pointer.
- |>
- |> So you do have NULL pointers to members.
-
- I was hoping that was in there somewhere. I was in a hurry, and couldn't
- find it. Thanks for locating it for me...
-
- -=Dave
-