From: Andrew Newsgroups: comp.os.msdos.djgpp Subject: Re: References to temporary objects in C++ Date: Sun, 18 May 2003 09:29:21 +1000 Organization: ECLiPSE Lines: 14 Message-ID: References: <3EC69975 DOT 55BE1034 AT alpha DOT delta DOT edu> NNTP-Posting-Host: p29-tnt9.syd.ihug.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: lust.ihug.co.nz 1053214164 11454 203.173.151.29 (17 May 2003 23:29:24 GMT) X-Complaints-To: abuse AT ihug DOT co DOT nz NNTP-Posting-Date: Sat, 17 May 2003 23:29:24 +0000 (UTC) X-Newsreader: Forte Agent 1.93/32.576 English (American) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >A year or two ago, I was frustrated with GCC not being able to accept >a reference to a temporary object as a function argument, like this: ..SNIP.. >Was this a DJGPP issue? Or simply a GCC issue? Does anyone know when >it changed? (This is obviously an unimportant matter, but I am simply >curious.) You didn;t indicate with GCC you are using. It would be GCC, for more info on GCC see the GCC main page:- http://www.gnu.org/software/gcc/gcc.html GCC C++ support has changed allot since the mid 1990's and will continue to change like all of the other C++ compilers. Andrew