From: Cromwell Enage (sponage_at_[hidden])
Date: 2004-05-19 10:35:17
--- Paul Mensonides <pmenso57_at_[hidden]> wrote:
> Hi Cromwell,
> FYI, these macros don't belong in the preprocessor
> library (pp-lib). That library is a set of macros
> (etc.) designed to be used to generate C and C++
> code. They don't actually generate that code
> That isn't saying anything about whether your
> implementation is good or bad or whether it belongs
> in Boost. Only that it doesn't properly belong in
> the pp-lib. Instead, your macros are clients of the
> pp-lib. They should probably go with the rest of
> the math stuff (<boost/math/...>) and use a plain
> BOOST_ or BOOST_MATH_ prefix (but definitely not
Okay, I'll reorganize everything.
> In order to be part of the pp-lib, the macros would
> have to calculate their results at preprocessing
> time. For example, BOOST_PP_ADD(5, 5) expands to 10
> (the single token), not (5 + 5). Does that make
Gotcha. I don't see how I can do that with my lib
without an inordinate amount of work, so unless
someone else can see how, I'll stop trying.
Thanks for clearing things up! I'll try not to be so
presumptuous next time.
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk