Why is D unpopular, redux.
Timon Gehr
timon.gehr at gmx.ch
Tue May 24 22:55:31 UTC 2022
On 24.05.22 19:10, Walter Bright wrote:
> On 5/24/2022 12:45 AM, Timon Gehr wrote:
>> No. The correct behavior when a delegate literal outlives captured
>> variables is to allocate a closure. This case is not an exception...
>
> But it isn't a safety problem, as it won't compile.
Well, it's still a memory safety problem in @system code, it's just that
it's not a soundness issue for @safe.
More information about the Digitalmars-d
mailing list