Custom delete not getting called

Daniel Gibson metalcaedes at gmail.com
Fri Jun 24 22:36:21 PDT 2011


Am 25.06.2011 06:33, schrieb Ali Çehreli:
> On Sat, 25 Jun 2011 06:24:31 +0200, Andrej Mitrovic wrote:
> 
>> These are going away, I don't know why they're still being kept in the
>> docs.
> 
> If I understood correctly, you mean that the custom new and delete 
> operators for user defined types are going away? If so, I am wasting my 
> time writing something about those. :)
> 
> Is there a replacement for the custom new and delete?

emplace() (and clear() to call the destructor)

Cheers,
- Daniel


More information about the Digitalmars-d mailing list