Article View: gnu.g++.bug
Article #981No bug: was bug in 2.2.2 - object as function arguments ??
From: David Kastrup
Date: Sat, 26 Sep 1992 09:26
Date: Sat, 26 Sep 1992 09:26
7 lines
969 bytes
969 bytes
Same problem as mentioned before. Since temporary objects are not guaranteed to exist ANYTIME after their explicit use, passing of pointers from temporary objects is illegal. This is sad because it complicates things as in the sample, but as is shown clearly in the ARM, only a garbage collection mechanism can be smart enough to guarantee temps exist until all references cease. And c++ hasn't such.
Technical Details
Message-ID:
<dak.717499574@kaa>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!kaa.informatik.rwth-aachen.de!dakReferences:
<1992Sep23.051536.4188@nuscc.nus.sg>Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!kaa.informatik.rwth-aachen.de!dak From: dak@kaa.informatik.rwth-aachen.de (David Kastrup) Subject: No bug: was bug in 2.2.2 - object as function arguments ?? Message-ID: <dak.717499574@kaa> Sender: gnulists@ai.mit.edu Organization: Rechnerbetrieb Informatik / RWTH Aachen References: <1992Sep23.051536.4188@nuscc.nus.sg> Distribution: gnu Date: Sat, 26 Sep 1992 09:26:14 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 8