home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 13063 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.1 KB

  1. Path: sparky!uunet!kithrup!stanford.edu!ames!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!allegra!alice!ark
  2. From: ark@alice.att.com (Andrew Koenig)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Destruction of temporaries
  5. Message-ID: <23590@alice.att.com>
  6. Date: 29 Aug 92 21:53:26 GMT
  7. Article-I.D.: alice.23590
  8. References: <MCGRANT.92Aug26232410@rascals.stanford.edu> <23563@alice.att.com> <rmartin.715004480@thor> <23583@alice.att.com> <rmartin.715101472@thor>
  9. Reply-To: ark@alice.UUCP ()
  10. Organization: AT&T Bell Laboratories, Murray Hill NJ
  11. Lines: 13
  12.  
  13. In article <rmartin.715101472@thor> rmartin@thor.Rational.COM (Bob Martin) writes:
  14.  
  15. > No, I want a warning every time a temporary gets converted into a
  16. > pointer.  
  17.  
  18. All that will do is cause library authors to write little classes
  19. that contain pointers to suppress warnings.  Or maybe they'll use
  20. explicit member function calls instead of implicit conversions.
  21.  
  22. It's hard to make things foolproof because the fools are so clever.
  23. -- 
  24.                 --Andrew Koenig
  25.                   ark@europa.att.com
  26.