Small @nogc experience report

Atila Neves atila.neves at gmail.com
Thu Sep 20 13:21:21 UTC 2018


On Thursday, 20 September 2018 at 12:41:07 UTC, Petar Kirov 
[ZombineDev] wrote:
> On Thursday, 20 September 2018 at 10:50:49 UTC, Atila Neves 
> wrote:
>>
>> This pattern is incredibly easy to wrap and reuse as needed. I 
>> would've done already if only I'd known @nogc was ignored as 
>> well as pure.
>
> It's a recent development:
> https://dlang.org/changelog/2.082.0#debug-unsafe :
>
>> Unsafe code can now be used in debug blocks
>
> https://dlang.org/changelog/2.079.0 :
>
>> Bugzilla 16492: support @nogc in debug{} blocks

Ah. I was wondering how that passed me by! Thanks.


More information about the Digitalmars-d mailing list