Advertisement

Exception Safety: Concepts and Techniques

  • Bjarne Stroustrup
Chapter
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2022)

Abstract

This paper presents a set of concepts and design techniques that has proven successful in implementing and using C++ libraries intended for applications that simultaneously require high reliability and high performance. The notion of exception safety is based on the basic guarantee that maintains basic invariants and avoids resource leaks and the strong guarantee that ensures that a failed operation has no effect.

Keywords

Valid State Resource Acquisition Standard Library Memory Leak Strong Guarantee 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [1]
    Bjarne Stroustrup: The Design and Evolution of C++. Addison-Wesley. 1994. ISBN 0-201-54330-3.Google Scholar
  2. [2]
    Andrew Koenig (editor): Standard-The C++ Language. ISO/IEC 14882:1998(E). Information Technology Council (NCITS). Washington, DC, USA. http://www.ncits.org/cplusplus.htm.
  3. [3]
    Bjarne Stroustrup: The C++ Programming Language (Special Edition). Addison-Wesley. 2000. ISBN 0-201-70073-5.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2001

Authors and Affiliations

  • Bjarne Stroustrup
    • 1
  1. 1.AT&T Labs-ResearchUSA

Personalised recommendations