Boost logo

Boost Users :

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net