
16 Apr
2009
16 Apr
'09
9:33 p.m.
Sebastian Redl wrote: [...]
unexpected() at throw point.
We don't need noexcept for that; that's what an empty throw declaration does.
I'll let David Abrahams explain it to you. He knows quite well that violation of "throw declaration" under the current standard doesn't result in invocation of unexpected() at *throw point*. Beside that, you're simply not paying attention: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2855.html#exception... "We therefore propose to deprecate C++ exception specifications in C++0x" regards, alexander.