Exception safety: concepts and techniques

  • Authors:
  • Bjarne Stroustrup

  • Affiliations:
  • AT&T Labs -- Research, Florham Park, NJ

  • Venue:
  • Advances in exception handling techniques
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

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.