home *** CD-ROM | disk | FTP | other *** search
- 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
- From: ark@alice.att.com (Andrew Koenig)
- Newsgroups: comp.lang.c++
- Subject: Re: Destruction of temporaries
- Message-ID: <23590@alice.att.com>
- Date: 29 Aug 92 21:53:26 GMT
- Article-I.D.: alice.23590
- References: <MCGRANT.92Aug26232410@rascals.stanford.edu> <23563@alice.att.com> <rmartin.715004480@thor> <23583@alice.att.com> <rmartin.715101472@thor>
- Reply-To: ark@alice.UUCP ()
- Organization: AT&T Bell Laboratories, Murray Hill NJ
- Lines: 13
-
- In article <rmartin.715101472@thor> rmartin@thor.Rational.COM (Bob Martin) writes:
-
- > No, I want a warning every time a temporary gets converted into a
- > pointer.
-
- All that will do is cause library authors to write little classes
- that contain pointers to suppress warnings. Or maybe they'll use
- explicit member function calls instead of implicit conversions.
-
- It's hard to make things foolproof because the fools are so clever.
- --
- --Andrew Koenig
- ark@europa.att.com
-