Collections question

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 2 14:27:07 PST 2015


On Wednesday, 2 December 2015 at 15:58:19 UTC, Andrei 
Alexandrescu wrote:
> On 12/02/2015 01:45 AM, deadalnix wrote:
>> On Tuesday, 1 December 2015 at 17:27:20 UTC, Andrei 
>> Alexandrescu wrote:
>>> Ah, the good old assignment to reference. We need to prevent 
>>> that from
>>> happening in safe code. Got any fresh ideas? -- Andrei
>>
>> Disable owner when borrowing 'mutably', and not when borrowing 
>> 'constly'.
>
> What does "disable owner" mean? Thx! -- Andrei

I mean you can't use it for the lifetime of the borrowing.



More information about the Digitalmars-d mailing list