November 16, 2021 Re: Make sure lifetime of helper structs is less than owning struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sebastiaan Koppe | On 11/16/21 12:35 AM, Sebastiaan Koppe wrote: > Here the > OP wanted to (have the compiler) destroy the FileReader when it left the > scope, while disallowing any use after free. Thanks! That's what I missed. Ali |
Copyright © 1999-2021 by the D Language Foundation