DIP 1008 Preliminary Review Round 1
Atila Neves via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 26 13:02:32 PDT 2017
On Friday, 26 May 2017 at 19:31:26 UTC, Steven Schveighoffer
wrote:
> Note that the implication in your strawman is that you need a
> special exception to be nogc. I'd rather leave the
> (de)allocation of the exception up to the thrower/catcher, and
> have the exception not care about its own location.
That the thrower should decide how to allocate, I agree with. Or
at least have a sane default that can be optionally changed. But
deallocation should just automagically work, otherwise people
will forget to do it and end up with leaks at the very least.
Atila
More information about the Digitalmars-d
mailing list