On 5/25/2017 4:54 PM, Atila Neves wrote:
I think maybe the problem isn't with `throw` but with `catch`. What if instead we make it so that:

catch(scope T ex) { /*...*/; }

Means:

catch(scope T ex) { /*...*/; ex.__dtor; }

The trouble comes in when one starts copying exception references around. Who then is responsible for destroying it?

Reply via email to