DIP77 - Fix unsafe RC pass by 'ref'

via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 11 02:20:53 PDT 2015


On Saturday, 11 April 2015 at 09:15:19 UTC, Martin Nowak wrote:
> On Friday, 10 April 2015 at 21:26:14 UTC, Walter Bright wrote:
>> This would be a bad design of an RCO. RCO's must be 
>> constructed to not allow pointers to the payload other than by 
>> ref.
>
> And taking the address of that is already unsafe.

It isn't under my proposal, which Walter has already accepted the 
most important part of.


More information about the Digitalmars-d mailing list