On 9/13/2016 6:09 PM, Andrei Alexandrescu wrote:
On 09/13/2016 05:43 PM, Walter Bright wrote:There's currently nothing that would prevent any handler code from saving a reference to the thrown exception. Statically allocating them would break that.Didn't we reach the agreement to closely investigate a reference counted exceptions hierarchy?
Yes we did. The design of Phobos would be better and more flexible if exceptions didn't rely on the GC.
