home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / cplus / 11452 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.4 KB

  1. Xref: sparky comp.lang.c++:11452 comp.std.c++:932
  2. Newsgroups: comp.lang.c++,comp.std.c++
  3. Path: sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal
  4. From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
  5. Subject: Re: Language extensions for run-time type identification
  6. Message-ID: <1992Jul23.200803.22371@ucc.su.OZ.AU>
  7. Sender: news@ucc.su.OZ.AU
  8. Nntp-Posting-Host: extro.ucc.su.oz.au
  9. Organization: MAXTAL P/L C/- University Computing Centre, Sydney
  10. References: <1992Jul21.143131.6902@cadsun.corp.mot.com> <1992Jul21.135537.23421@hellgate.utah.edu> <1992Jul22.212111.12530@taumet.com>
  11. Date: Thu, 23 Jul 1992 20:08:03 GMT
  12. Lines: 16
  13.  
  14. In article <1992Jul22.212111.12530@taumet.com> steve@taumet.com (Steve Clamage) writes:
  15. >
  16. >We could patch this up by saying you have to use 'class' rather than
  17. >'struct' to get RTTI, but this would break existing C++ code which
  18. >relies on the equivalence of 'struct' and 'class'.  Maybe this is
  19. >not too high a penalty, but it would have to be carefully considered.
  20.  
  21.     IMHO making struct == class (baring access defaults) was a poor
  22. decision. I would much rather 'struct' MEANT C-compatible. 
  23. So I would not be dismayed at the change suggested above.
  24.  
  25. -- 
  26. ;----------------------------------------------------------------------
  27.         JOHN (MAX) SKALLER,         maxtal@extro.ucc.su.oz.au
  28.     Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
  29. ;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
  30.