@nogc exceptions?

Nicholas Wilson iamthewilsonator at hotmail.com
Sun May 19 05:18:42 UTC 2019


On Sunday, 19 May 2019 at 05:05:32 UTC, Manu wrote:
> Okay...How do I do it? I just get:
>   throw new Exception("ex");
>   > error : cannot use `new` in `@nogc` function

pass -preview=dip1008 to the compiler




More information about the Digitalmars-d mailing list