Thinking about Exception Safety in C++

Thanks to David Abrahams, we have a framework to discuss the relative exception safety of C++ components. Quick reiteration:# The basic guarantee: that the invariants of the component are preserved, and no resources are leaked.# The strong guarantee: that the operation has either completed successfully or thrown an exception, leaving the program state exactly as […]