From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2006-11-07 16:22:33


"Terry G" <tjgolubi_at_[hidden]> wrote

> Recently, I tried to avoid using a large 150-case switch statement using
> metaprogramming.

This is not a very good case for applying TMP, IMO. If all you want is to
avoid code repetition, you are better off using the Boost Preprocessor
library.

Regards,
Arkadiy