
7 Nov
2006
7 Nov
'06
9:22 p.m.
"Terry G"
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