Archive for December, 2006

Using C++ Exceptions Effectively

December 17th, 2006 | Category: C++, Programming

C++ exceptions are often either ignored or misused. A lot of this is C++’s fault, but it is possible to create high quality, exception safe code by following some basic guidelines. To that end I’ve written an article on using C++ exceptions. It is available in docbook and HTML

The Author

Michael Smit is a software engineer in Seattle, Washington who works for amazon

4 comments

Templatized Visitor Pattern

December 16th, 2006 | Category: C++, Programming

I recently came up with a nice pattern for templatizing visitors in C++ so I thought I’d write an article about it. Basically the problem with visitors is that adding support for new features can be a real pain in the butt (Visitor pattern considered useless). This pattern helps reduce that overhead in some cases. So here is the article in both docbook and html.

The Author

Michael Smit is a software engineer in Seattle, Washington who works for amazon

Comments are off for this post