[SAoC 2021] Replace druntime Hooks with Templates: Milestone 3, Week 1

Imperatorn johan_forsberg_86 at hotmail.com
Wed Nov 24 18:06:48 UTC 2021


On Friday, 19 November 2021 at 21:45:46 UTC, Teodor Dutu wrote:
> Hi,
>
> This week I managed to fix the final bugs of the `_d_arrayctor` 
> lowering.
> In order to remove the call to `__ArrayDtor`, of which I spoke 
> in [last week's 
> post](https://forum.dlang.org/post/kocccsnqxjailweqcazz@forum.dlang.org), I resorted to declaring the array returned by `_d_arrayctor` inside a union. This is somewhat unorthodox, but Adam Ruppe [assured me](https://forum.dlang.org/post/xqgfaicsqlbbekkbzqye@forum.dlang.org) that this is the accepted way of handling array destruction myself.
>
> [...]

👍


More information about the Digitalmars-d mailing list