home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / std / cplus / 1873 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.std.c++
  2. Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
  3. From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
  4. Subject: Re: Zero-length structures and pointer comparisons
  5. Message-ID: <9235622.25712@mulga.cs.mu.OZ.AU>
  6. Sender: news@cs.mu.OZ.AU
  7. Organization: Computer Science, University of Melbourne, Australia
  8. References: <1992Dec9.133956.29659@lth.se> <1992Dec9.191606.5665@lucid.com> <BzCG7K.2sG@frumious.uucp> <1992Dec18.192202.17023@ucc.su.OZ.AU>
  9. Date: Mon, 21 Dec 1992 11:06:35 GMT
  10. Lines: 22
  11.  
  12. maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
  13.  
  14. >pat@frumious.uucp (Patrick Smith) writes:
  15. >>   p == q   =>   ptrcmp(p,q) == 0
  16. >
  17. >    I'm NOT agreeing with this at present. I reject any relationship
  18. >between p ? q and ptrcmp. On some machines any such relationship
  19. >might make ptrcmp unimplementable, and thus defeat the proposal completely.
  20.  
  21. I remain unconvinced that such a relationship is unimplementable on
  22. some machines.
  23.  
  24. >It is only Jims suggestion that ptrcmp might always return 0 that
  25. >makes it possible to make its existence mandatory.
  26.  
  27. A ptrcmp that always returned 0 would be useless, IMHO.
  28.  
  29. -- 
  30. Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
  31. This .signature virus is a self-referential statement that is true - but 
  32. you will only be able to consistently believe it if you copy it to your own
  33. .signature file!
  34.