DIP77 - Fix unsafe RC pass by 'ref'

via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 9 12:58:53 PDT 2015


On Thursday, 9 April 2015 at 01:35:54 UTC, Walter Bright wrote:
> The same as that of a tmp being returned from a function - to 
> the end of the expression.

But how will this work with anything that makes RCArrays 
reachable through indirections...? Is the compiler going to do a 
recursive scan and create temporaries of all RC-pointers that are 
reachable?

(e.g. RCArrays of RCArrays)




More information about the Digitalmars-d mailing list