DIP77 - Fix unsafe RC pass by 'ref'
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Fri Apr 10 16:22:17 PDT 2015
On Friday, 10 April 2015 at 23:18:59 UTC, Martin Nowak wrote:
> On 04/10/2015 11:29 PM, Walter Bright wrote:
>>
>> The latter.
>
> Can you update that part in the DIP, it wasn't clear that the
> temporary
> selectively pins RCO fields of a normal struct passed by ref.
If a struct has RCO fields, shouldn't it be an RCO itself, and as
such be pinned ?
It sounds like this is implied in the DIP.
More information about the Digitalmars-d
mailing list