tag:blogger.com,1999:blog-3197434572108789628.post427042158361598661..comments2023-07-09T08:22:29.738-07:00Comments on c++ today: Prevent exceptions from leaving destructors. Now!Gaetanohttp://www.blogger.com/profile/03637292910769902384noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3197434572108789628.post-53307476658393992772015-02-22T08:57:54.840-08:002015-02-22T08:57:54.840-08:00The purpose of constructor is not hard to understa...The purpose of constructor is not hard to understand. but for me, I am still unable to understand the usage of destructor.<br /><a href="http://cplusplusinurdu.com" rel="nofollow">C++ in Urdu</a><br />Anonymoushttps://www.blogger.com/profile/14237976047302911890noreply@blogger.comtag:blogger.com,1999:blog-3197434572108789628.post-39498488219658108792014-05-24T22:23:15.022-07:002014-05-24T22:23:15.022-07:00Given how the language is defined, you are absolut...Given how the language is defined, you are absolutely right. Yet I wonder if exception chaining wouldn't be a better approach than termination. It has to be said that it would make it very difficult to avoid memory leaks in the presence of exceptions.Nicola Musattihttps://www.blogger.com/profile/11326236160385202058noreply@blogger.comtag:blogger.com,1999:blog-3197434572108789628.post-80174164142240777032014-05-22T00:01:47.240-07:002014-05-22T00:01:47.240-07:00there's a missing 'k' ;-)
good to kno ...there's a missing 'k' ;-)<br />good to kno indeed!thrantirhttps://www.blogger.com/profile/07720685051427136187noreply@blogger.com