
6 May
2008
6 May
'08
10:17 a.m.
--- Nat Goodspeed
Ed Keith wrote:
Is it possible to compare tokens in the preprocessors library?
What I mean is that I can say
#if (abc == abc) foo #else bar #endif
and it gives me foo
but if I say
BOOST_PP_IF(abc == abc, foo, bar)
I get an error.
I don't know the implementation of BOOST_PP_IF, but would this work any better?
BOOST_PP_IF((abc == abc), foo, bar)
No, I tried that too. Thanks anyway, -EdK Ed Keith e_d_k@yahoo.com Blog: edkeith.blogspot.com ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ