Dec 16

Templatized Visitor Pattern

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 Maryland who currently develops software for spacecraft, spacecraft simulators, and spacecraft control systems.

No Comments

Leave a comment