Conclusions of the exception discussion
yebblies at nospamgmail.com
Sat Feb 25 05:12:50 PST 2012
Could you give a code example of what you mean? You can still use multiple catch blocks perfectly well with this patch.
"Kevin Cox" <kevincox.ca at gmail.com> wrote in message news:mailman.97.1330172953.24984.digitalmars-d at puremagic.com...
I think there should also be multiple catches so that you can deal with different exceptions different ways without trying to upcast them over and over again.
On Feb 25, 2012 1:30 AM, "Daniel Murphy" <yebblies at nospamgmail.com> wrote:
"Jonathan M Davis" <jmdavisProg at gmx.com> wrote in message
news:mailman.93.1330149312.24984.digitalmars-d at puremagic.com...
> However, regardless of which we choose, someone is going to have to take
> time to implement it, since odds are that Walter isn't going to do it. So,
> whether we end up with a feature along these lines is highly dependent on
> whether anyone is willing to take the time to implement it and get it
> by Walter.
Waaaay ahead of you here.
It's currently 'catch(auto e : E1, E2, E3)' but changing the syntax is
trivial if everyone decides they want it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Digitalmars-d