trick to make throwing method @nogc

ikod via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Feb 25 12:57:54 PST 2017


On Saturday, 25 February 2017 at 20:49:51 UTC, Adam D. Ruppe 
wrote:
>> A wrapper that unifies these 4 steps like enforce is pretty 
>> easy to implement.
>
> yeah easy to use exception in @nogc as long as the catch knows 
> to free it too.

Alas, not my case. Exception can be catched not in my code.


More information about the Digitalmars-d-learn mailing list