D wrapper classes leak memory. Next steps?

eles via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 31 06:16:15 PDT 2014


On Friday, 31 October 2014 at 10:06:51 UTC, Ola Fosheim Grøstad 
wrote:
> On Friday, 31 October 2014 at 09:58:41 UTC, ketmar via 
> Digitalmars-d wrote:
>> if you have something concrete in mind, write ER or forum 
>> post, so we can destroy it. ;-)

> - make uniqe_ptr a language builtin

I would go with this by default for all pointers/references.

Something that I read here:

https://news.ycombinator.com/item?id=7650917

My feeling too.

If you need more owners for a resource, then explicitly ask for.


More information about the Digitalmars-d mailing list