Idea #1 on integrating RC with GC

Adam D. Ruppe destructionator at gmail.com
Wed Feb 5 11:13:00 PST 2014


On Wednesday, 5 February 2014 at 19:09:57 UTC, Marco Leise wrote:
>> You could put in a function pointer to a deallocator 
>> (c-malloc, QT, GTK or some other library deallocator etc) and 
>> other kind of meta information that makes you able to treat 
>> reference counting in a uniform manner even for external 
>> resources.
>
> Now that sounds interesting.

It sounds to me like... a separate type. The deallocator is the 
destructor!


More information about the Digitalmars-d mailing list