Re: Writing exception-safe code

No mate it is not as simple as that…. I will write a detailed mail ( will read up on that a bit ) but strong exception safety is an elusive goal.

I think we should go for the basic exception safety guarantee and use more smart pointers and library calls… Also I recommend Boost again ( the deleter part of shared_ptr etc… )

— cheerio atul

Would you like to post a relpy?


This post is a reply to:
Re: Writing exception-safe code
Hi Atul, thanks for the follow-up! I think that strong exception safety is what we should be aiming at. It would be hard and would require training and lots of (more...)

Follow-ups:
Re: Writing exception-safe code
Hi Atul, I agree it is hard to achieve strong exception safety, especially in the standard template library where little assumptions can be made about the the template types. We have (more...)