home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!dptg!ulysses!allegra!alice!ark
- From: ark@alice.att.com (Andrew Koenig)
- Newsgroups: comp.lang.c++
- Subject: Re: Destruction of temporaries
- Message-ID: <23583@alice.att.com>
- Date: 28 Aug 92 19:07:06 GMT
- References: <MCGRANT.92Aug26232410@rascals.stanford.edu> <23563@alice.att.com> <rmartin.715004480@thor>
- Reply-To: ark@alice.UUCP ()
- Organization: AT&T Bell Laboratories, Murray Hill NJ
- Lines: 12
-
- In article <rmartin.715004480@thor> rmartin@thor.Rational.COM (Bob Martin) writes:
-
- > It is in these cases where I would be perfectly happy if the compiler
- > issued a warning, or even an error.
-
- Which cases? I don't know how to write a compiler smart enough to
- distinguish the innocent cases from the guilty ones. Surely you're
- not suggesting a warning every time you call a function that returns
- a pointer!
- --
- --Andrew Koenig
- ark@europa.att.com
-