Manual memory management in D2

Vladimir Panteleev vladimir at thecybershadow.net
Tue Jul 13 14:27:44 PDT 2010


On Wed, 14 Jul 2010 00:17:18 +0300, bearophile <bearophileHUGS at lycos.com>  
wrote:

> Vladimir Panteleev:
>> However, D allows overloading new/delete for custom allocators[1] - this
>> can be used for a cleaner way to allocate objects in unmanaged memory. I
>> don't see why this use of the delete keyword should be deprecated.
>>
>>    [1]: http://digitalmars.com/d/2.0/memory.html#newdelete
>
> Andrei (and Walter too, I presume) has killed that too just few days ago  
> :o)

ARGHARGHARGH

* forks D *

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list