On Friday, 11 July 2014 at 05:41:50 UTC, Manu via Digitalmars-d wrote:

I've thought of allowing "throw new ...", and yours would be in addition to that, in @nogc functions, but was waiting to see how this would play out a
bit first.

I should add, I'm not sure I see that my case should be 'in addition'. I think my case should precede since I don't think it's objectionable, but I'm really unsure I would get on board with 'throw new ...' in
@nogc functions. It seems to defeat the purpose to me...?
Why would you want to allow throwing 'new' exceptions?

Would be great to be able to speficify a custom allocator to exceptions thrown, or at least have it malloc somehow.

Reply via email to