home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 18034 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.2 KB  |  27 lines

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