Chris Lattner wrote:
On Apr 10, 2009, at 1:55 PM, Jason Merrill wrote:
My impression is that the C++ committee generally feel that exception
specifications are a failed feature, and nobody is particularly
interested in fixing them.
Have you seen this?
http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2855.html
I've been aware of that discussion going on. That paper proposes to
deprecate exception specifications in favor of a new decl-specifier that
is roughly equivalent to an empty throw-spec. It seems unfortunate to
me to introduce entirely new syntax for something so semantically
similar, but I haven't really participated in the discussion.
However, since the subject is being brought forward because of the
issues with rvalue references, this does seem like an appropriate time
to suggest changes to the semantics of exception specifications to make
them more suitable to dealing with this issue.
Jason