Inference of Scoped Destruction

Nick Treleaven nick at geany.org
Mon Dec 4 16:03:50 UTC 2017


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


More information about the Digitalmars-d mailing list