This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC RES: Restrictive Exception Specification: 0.1 - Alpha. Feedback Request.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]