Three Unlikely Successful Features of D
Nick Sabalausky
a at a.a
Tue Mar 20 19:06:36 PDT 2012
"Nick Sabalausky" <a at a.a> wrote in message
news:jkbcoh$15k3$1 at digitalmars.com...
>
> And even *that* still doesn't work if you don't catch *every* exception
> (and then rethrow the ones you don't care about? Ick!).
>
And AIUI, even *that* doesn't work in C++ because, IIRC, the class hierarchy
doesn't have *any* common root. So what, are you going to have a catch block
for *every* class type in your program? Heck, even *that* might be feasable
in D thanks to the compile-time reflection and quality metaprogramming, but
with C++, you're SOL.
More information about the Digitalmars-d
mailing list