Boost logo

Boost :

From: faisal vali (fvali_at_[hidden])
Date: 2003-06-03 21:36:43


Well i did manage to get it to compile by simply adding a primary
template declaration for the policy class. <cringe>

It seemed to be behaving all right until i tried to preprocess the
following (and i wonder if i caused this behavior by my above tinkering
or whether this is truly standard behavior):

#define C C

#if C
X()
#endif

Wave spits out that this is an ill-formed preprocessor expression -

Is that true?

>From my reading of the standard this should first get transformed into:

#if 0
X()
#endif

Can someone explain or confirm what the expected outcome should be, and
whether it is my compilation of wave that is broken?

regards,
Faisal Vali


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk