|
Boost Users : |
From: Peter Bartlett (pete_at_[hidden])
Date: 2008-05-06 08:06:19
Quoting Ed Keith <e_d_k_at_[hidden]>:
> [...]
>
> BOOST_PP_IF(abc == abc, foo, bar)
>
> I get an error.
>
> Is it possible to do something like this? If so, what
> am I doing wrong?
I think you have to use BOOST_PP_IF( BOOST_PP_EQUAL(abc,abc) , foo,
bar ) here.
Pete
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