August 2004
Intermediate to advanced
352 pages
7h 38m
English
Difficulty: 7
Is it worth the effort to write exception-safe code? This should no longer be a seriously disputed and debated point… but sometimes it still is.
Recap: Briefly define the Abrahams exception safety guarantees (basic, strong, and nofail).
The basic guarantee says that failed operations might alter program state, but no leaks occur and affected objects/modules are still destructible and usable, in a consistent (but not necessarily predictable) state.
The ...