Inference of Scoped Destruction

Nordlöw per.nordlow at gmail.com
Mon Dec 4 16:45:08 UTC 2017


On Monday, 4 December 2017 at 16:03:50 UTC, Nick Treleaven wrote:
> On Thursday, 30 November 2017 at 16:31:25 UTC, Nordlöw wrote:
>> How would this interact with explicit scope-qualification of 
>> `x`?
>
> That would allow the compiler to avoid GC allocation for x. It 
> seems essentially the same case as Walter describes here:
> http://forum.dlang.org/post/ofo9f5$2bt7$1@digitalmars.com

Nice. Thanks.


More information about the Digitalmars-d mailing list