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