|
Boost : |
From: Ross Smith (r-smith_at_[hidden])
Date: 2001-11-20 01:34:04
Andrei Alexandrescu wrote:
>
> > And why do you want this to be a macro?
>
> I believe that SUPERSUBCLASS is an important, useful abstraction. Writing
> the content of SUPERSUBCLASS inline in code just hides the intent with the
> mechanics.
Yes, but WHY A MACRO?
Much as I admire your code in general, Andrei, you do have this
deplorable tendency to fall in love with the preprocessor. :-) There are
several concepts in MC++D (TYPELIST<n> is another) that, for no good
reason that I can see, you've gratuitously written as macros when they
could be expressed just as easily in safe code.
-- Ross Smith ...................................... Auckland, New Zealand r-smith_at_[hidden] ........................ http;//halflife.mani.ac.nz/ "A wise man learns from the mistakes of others; a fool learns only from his own." -- Gen. Aleksandr Lebed
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk