DIP1000: Memory Safety in a Modern System Programming Language Pt.1
ezneh
petitv.isat at gmail.com
Wed Jun 22 09:25:18 UTC 2022
On Wednesday, 22 June 2022 at 06:48:34 UTC, Dukc wrote:
> On Tuesday, 21 June 2022 at 22:55:56 UTC, StarCanopy wrote:
>> On Tuesday, 21 June 2022 at 15:05:46 UTC, Mike Parker wrote:
>>> [...]
>>
>> ```d
>> int[5] stackData = [-1, -2, -3, -4, -5];
>>
>> // Lifetime of stackData2 ends
>> // before limitedRef, so this is
>> // disallowed.
>> limitedRef = stackData[];
>> ```
>>
>> In the above example, `stackData2` seems to be a typo.
>
> Thanks, you're right. Missed that when editing.
Other typo:
```, as that dcoument is what ```
More information about the Digitalmars-d-announce
mailing list