Destructor semantics

bearophile bearophileHUGS at lycos.com
Sun Aug 15 10:10:29 PDT 2010


Max Samukha:
> We tried to impose management of all QtD objects on the user but that 
> proved to be a bad idea. The exception is QObject. In Qt QObjects are 
> arranged in trees. When the root node is destroyed all its children are 
> destroyed as well. GC is disabled for QObjects.

I think Phobos2 can enjoy a semi-manual overarching memory allocator, like halloc.

Bye,
bearophile


More information about the Digitalmars-d mailing list