Boost logo

Boost Users :

From: Ed Keith (e_d_k_at_[hidden])
Date: 2008-05-06 09:07:05


--- Peter Bartlett <pete_at_[hidden]> wrote:

> 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.

I tried that, but apparently BOOST_PP_EQUAL only takes
int values.

Thank for the suggestion though,

  -EdK

Ed Keith
e_d_k_at_[hidden]

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


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