DIP77 - Fix unsafe RC pass by 'ref'

via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 10 02:54:16 PDT 2015


On Friday, 10 April 2015 at 09:28:57 UTC, Walter Bright wrote:
> Please read the DIP again. The copy happens earlier.

But one cannot keep a stateful resource alive by copying memory. 
One would have to take ownership to keep it alive. In order to do 
that you need a model for ownership.


More information about the Digitalmars-d mailing list