[cfe-dev] The really scary part of noexcept

Sebastian Redl sebastian.redl at getdesigned.at
Sun Mar 20 08:35:29 PDT 2011


On 20.03.2011, at 16:17, Johannes Schaub (litb) wrote:

> I don't quite understand whether the exception specification will be 
> "throw()" or "noexcept(true)". It seems to make a difference wrt whether 
> unexpected() or teminate() is called. Subsection 15.4 hasn't enlighted me: 
> It just says that the function disallows any exception. 

Yes, I consider this a defect in the current draft (I should report it), but given that dynamic specs are deprecated in C++0x, I made it be equivalent to noexcept(true) in Clang for C++0x.

Sebastian



More information about the cfe-dev mailing list