Main Page  »  Languages » C++ » Exception Handling » 


  
Constructor Failures (or, The Objects That Never Were)
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, 2000)
Adding Exception Testing to Unit Tests
This article describes a simple method of adding exhaustive testing of the exception paths to the test suite. (April, 2001)
Exception Handling in C++
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. (April 18, 2003)
Revisiting Exception Handling
Reviews guidelines developed years ago for throwing exceptions and how to use exception specifications. (May, 2003)
Exception Safety Analysis
Discusses how to analyze the exception safety of a function. (Andrei Alexandrescu and David B. Held) [PDF] (December, 2003)
Smart Pointers Reloaded (III)
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] (February, 2004)
Understanding C++ Exception Handling
Offers some insight into the use and potential misuse of exceptions.
Throwing Destructors
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.
Optimizing Away C++ Exception Handling
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]
Making an Exception
Exception handling in C++ can save a program from digital death, but it must be treated with care. Kevlin Henney explains how to make programs exception-safe. [PDF]

[ 1 ] [ 2 ]


 

 

WidgetBucks - Trend Watch - WidgetBucks.com


ASP | ASP.NET | C | C++ | CGI | Delphi | Java | Javascript | Perl | PHP | Python | Object Oriented | Tools | Compilers
programmingx.Com © Copyright 2005 All Programming Resources Guide Directory