Boost logo

Boost :

Subject: Re: [boost] The noexcept Specifier & Block
From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2009-04-16 17:33:46


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-spec

"We therefore propose to deprecate C++ exception specifications in
C++0x"

regards,
alexander.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk