On Saturday, 30 April 2022 at 11:37:32 UTC, Tejas wrote:
Hell, just using `scope int[] i` should be enough to trigger deterministic destruction, no? `typecons`'s `Scoped!` template can be used if 100% guarantee is needed _and_ the memory has to be stack allocated
Didn't think of that. To be frank, I don't know if `scope int[] i` means deterministic destruction. `Scoped` does IIRC.