Reference counting for resource management

LMB nomail at nowhere.com
Sun Nov 29 03:15:49 PST 2009


Don Wrote:

> LMB wrote:
> > [...]
> > So, is there any complete example on how to implement reference counting in D2?
> 
> I don't think so. While trying to do it, Bartosz found some severe bugs 
> in D which made it impossible; they were fixed in the last release.
> He's since found bug 3516 might still prevent a complete implementation.

Great! This bug 3516 ("Destructor not called on temporaries") was, er, bugging me too. Good to know that my lack of knowledge of D is not the only reason I could not make my code work. :-)

Thanks for the answer!
 


More information about the Digitalmars-d-learn mailing list