tag:blogger.com,1999:blog-13960885.post8794870745394369865..comments2024-03-26T02:03:01.072-07:00Comments on C++ Truths: Use of std::bad_exceptionSumanthttp://www.blogger.com/profile/11957855386259543653noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-13960885.post-17478148426014802042008-09-24T09:04:00.000-07:002008-09-24T09:04:00.000-07:00That's right, but the reason is lack of proper sup...That's right, but the reason is lack of proper support in Visual Studio for exception specification part of the C++ standard. Please see: <A HREF="http://msdn.microsoft.com/en-us/library/7twc8dwy.aspx" REL="nofollow"> set_unexpected (exception)</A> in MSDN library.Sumanthttps://www.blogger.com/profile/11957855386259543653noreply@blogger.comtag:blogger.com,1999:blog-13960885.post-87129975639103484152008-09-24T07:14:00.000-07:002008-09-24T07:14:00.000-07:00This code doesn't work as expected on VS2005.This code doesn't work as expected on VS2005.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-13960885.post-74432257425846185642007-05-04T17:30:00.000-07:002007-05-04T17:30:00.000-07:00In regards to exception specifications, I like the...In regards to exception specifications, I like the Morals from Herb Sutter's article: http://www.gotw.ca/publications/mill22.htm<BR/><BR/>Moral #1 Never write an exception specification<BR/>Moral #2: Except possibly an empty one, but if I were you I’d avoid even that.<BR/><BR/>IvanAnonymousnoreply@blogger.com