Smart Pointers and Exception Handling in C++
Andrei Alexandrescu discusses smart pointers, from their simplest aspects to their most complex ones and from the most obvious errors in implementing them to the subtlest ones -- some of which also happen to be the most gruesome. Also, learn how to throw an exception, how to associate handlers, or catch clauses, with a set of program statements using a try block, and how exceptions are handled by catch clauses, exception specifications, and design considerations for programs that use exceptions.