My Account
This article describes a simple method of adding exhaustive testing of the exception paths to the test suite.
Introduces the concept of exception handling for handling program errors.
Presents some guidelines when to use exceptions.
Learn how to throw an exception, how to associate handlers, or catch clauses, with a set of program statements using a try block, how exceptions are handled by catch clauses, exception specifications, and design considerations for programs that use exceptions.
Explains why most members of the C++ community vastly underestimate the skills needed to program with exceptions and therefore underestimate the true costs of their use. By Tom Cargill.
Discusses how to analyze the exception safety of a function. (Andrei Alexandrescu and David B. Held) [PDF]
Lessons learned from specifying exception-safety for the C++ standard library.
An indepth discussion of how VC++ implements exception handling. Source code includes exception handling library for VC++.
Describes an optimization that produces modest but useful gains on some existing C++ code, but produces very significant size and speed gains on code that uses empty exception specifications, avoiding otherwise serious performance losses. [PDF]
Reviews guidelines developed years ago for throwing exceptions and how to use exception specifications.
Constructor Tracking - Talks about dealing with exceptions that occur during object initialization by taking a look at smart_ptr initialization that has important teachings for any generic design - and policy-based classes in particular. (Andrei Alexandrescu and David B. Held) [PDF]
It is becoming increasingly popular to consider throwing destructors a bad practice. This document presents some insights on the problem and shows that maybe throwing from a destructor is not such a bad idea.
The ACCU is a non-profit organisation devoted to professionalism in programming at all levels. Although primarily focussed on C and C++, they also have interests in Java, C# and Python. (June 01, 2001)
Shows what object construction, and construction failure, mean in C++; and that function try blocks are useful to translate an exception thrown from a base or member subobject constructor. (November 01, 2000)
An indepth discussion of how VC++ implements exception handling. Source code includes exception handling library for VC++.
Explains why most members of the C++ community vastly underestimate the skills needed to program with exceptions and therefore underestimate the true costs of their use. By Tom Cargill.
This article describes a simple method of adding exhaustive testing of the exception paths to the test suite.
Lessons learned from specifying exception-safety for the C++ standard library.
Reviews guidelines developed years ago for throwing exceptions and how to use exception specifications.
Discusses how to analyze the exception safety of a function. (Andrei Alexandrescu and David B. Held) [PDF]
Constructor Tracking - Talks about dealing with exceptions that occur during object initialization by taking a look at smart_ptr initialization that has important teachings for any generic design - and policy-based classes in particular. (Andrei Alexandrescu and David B. Held) [PDF]
Learn how to throw an exception, how to associate handlers, or catch clauses, with a set of program statements using a try block, how exceptions are handled by catch clauses, exception specifications, and design considerations for programs that use exceptions.
Presents some guidelines when to use exceptions.
Describes an optimization that produces modest but useful gains on some existing C++ code, but produces very significant size and speed gains on code that uses empty exception specifications, avoiding otherwise serious performance losses. [PDF]
Introduces the concept of exception handling for handling program errors.
It is becoming increasingly popular to consider throwing destructors a bad practice. This document presents some insights on the problem and shows that maybe throwing from a destructor is not such a bad idea.
The ACCU is a non-profit organisation devoted to professionalism in programming at all levels. Although primarily focussed on C and C++, they also have interests in Java, C# and Python. (June 01, 2001)
Shows what object construction, and construction failure, mean in C++; and that function try blocks are useful to translate an exception thrown from a base or member subobject constructor. (November 01, 2000)
Last update:
December 29, 2020 at 19:35:05 UTC
Computers
Games
Health
Home
News