Allocating structs with new?

Simen kjaeraas simen.kjaras at gmail.com
Sat Jul 10 13:27:35 PDT 2010


div0 <div0 at users.sourceforge.net> wrote:

> On 10/07/2010 07:31, Robert Jacques wrote:
>
>> As for delete and clear, the deprecation/transition is still in
>> progress. clear exists, but delete is not deprecated yet.
>
> So what are we going to use instead? I have uses for delete.

druntime's gc.gc has extern (C) void gc_free( void* p ). That
probably is what you want.

-- 
Simen


More information about the Digitalmars-d mailing list