DIP77 - Fix unsafe RC pass by 'ref'

via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 12 07:50:19 PDT 2015


On Sunday, 12 April 2015 at 13:12:05 UTC, Martin Nowak wrote:
> As a side note, I find that unique ownership is strangely 
> missing from our discussions, yet it's a perfect ownership 
> model for resources such as a File.
> https://github.com/D-Programming-Language/phobos/pull/3171

I'm aware of it, but didn't want to open another can of worms. I 
have a vague idea what to do about it, based on deadalnix' 
"isolated" idea and the already existing uniqueness concept. I 
need to make up my mind about moving though, whether the benefits 
of making the compiler know about it are worth the added 
complexity.


More information about the Digitalmars-d mailing list