Variables with scoped destruction in closures

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 14 09:38:52 PDT 2016


On Friday, 14 October 2016 at 16:37:06 UTC, Nordlöw wrote:
> If I remove the explicit dtor from `S` the code compiles. Can

That of course being incorrect D code that leaks memory.


More information about the Digitalmars-d-learn mailing list