About removing the new keyword

Daniel Gibson metalcaedes at gmail.com
Sun Aug 29 11:49:36 PDT 2010


Andrei Alexandrescu schrieb:
> On 08/29/2010 11:28 AM, Daniel Gibson wrote:
>> Craig Black schrieb:
>>> It seems that much of the community is for removing the new keyword,
>> Really? This is the first time I've heard about this.
>> Why should it be removed anyway?
>>
>> There has been some discussion about removing "delete" (is there any
>> definite decision on that yet?) though.
> 
> The definite decision is delete will be deprecated following a staggered 
> schedule (deprecated for six months, removed thereafter). Walter didn't 
> have the time to get to that.
> 
> Andrei

Ok.
If delete is removed, how will Explicit Class Instance Allocation ( 
http://www.digitalmars.com/d/2.0/memory.html#newdelete ) work? Isn't 
delete needed for that?


More information about the Digitalmars-d mailing list