Article View: gnu.g++.bug
Article #2228Re: array size expression for delete
From: Robert Collins
Date: Thu, 01 Mar 1990 20:53
Date: Thu, 01 Mar 1990 20:53
27 lines
1280 bytes
1280 bytes
<From hansen@pegasus.att.com Thu Mar 1 09:48:40 1990 < <[ discussion of delete size expressions: delete [size] foo; ] < <I said: << Why is the size expression required at all? G++ seems to correctly handle << `normal' dynamic arrays, even in the face of sizeof(). Why can't the same << thing be done with arrays of things created via new? < <The next version of the C++ reference manual to come from Bjarne will do <exactly that. The size expression has been deprecated (removed) from the <language. Is this for real? When will this next version of the manual be released to the world (or at least the compiler writers)? If this is true, it is a Good Thing. When can we expect to see such a thing implemented in g++? Thanks for the info, rob collins rjc@cs.ucla.edu < Tony Hansen < att!pegasus!hansen, attmail!tony < hansen@pegasus.att.com
Technical Details
Message-ID:
<9003012053.AA09437@maui.cs.ucla.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CS.UCLA.EDU!rjcShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CS.UCLA.EDU!rjc From: rjc@CS.UCLA.EDU (Robert Collins) Newsgroups: gnu.g++.bug Subject: Re: array size expression for delete Message-ID: <9003012053.AA09437@maui.cs.ucla.edu> Date: 1 Mar 90 20:53:58 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 27