Generic Programming pp 69-79
Exception-Safety in Generic Components
- Cite this paper as:
- Abrahams D. (2000) Exception-Safety in Generic Components. In: Jazayeri M., Loos R.G.K., Musser D.R. (eds) Generic Programming. Lecture Notes in Computer Science, vol 1766. Springer, Berlin, Heidelberg
This paper represents the knowledge accumulated in response to a real-world need: that the C++ Standard Template Library exhibit useful and well-defined interactions with exceptions, the error-handling mechanism built-in to the core C++ language. It explores the meaning of exception-safety, reveals surprising myths about exceptions and genericity, describes valuable tools for reasoning about program correctness, and outlines an automated testing procedure for verifying exception-safety.
Keywordsexception-safety exceptions STL C++
Unable to display preview. Download preview PDF.