Use of mutex in destructors

Rene Zwanenburg renezwanenburg at gmail.com
Fri Apr 27 06:03:56 PDT 2012


On Friday, 27 April 2012 at 12:03:18 UTC, Dmitry Olshansky wrote:
> Boom! Just LOL...
>
> Use manual memory management or ref-counting. If 
> std.container.Array was not so bogus I'd recommend it for 
> arrays.

Yeah, I already have a few different types of smart pointer which 
can work with custom allocators. The main reason I don't use them 
right now is that there are a few bugs with storing structs in 
AA's, breaking reference counting.


More information about the Digitalmars-d-learn mailing list