Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-04-08 10:36:07


The docs for BOOST_PP_BOOL(X) say:

    Expands to 0 if X == 0 and 1 if X != 0.

So I expected:

    BOOST_PP_BOOL(const volatile) == 1

However, that's not the case. I think this problem is endemic in the
docs. How do I know which macros expect numeric arguments?

-Dave

+---------------------------------------------------------------+
                  David Abrahams
      C++ Booster (http://www.boost.org) O__ ==
      Pythonista (http://www.python.org) c/ /'_ ==
  resume: http://users.rcn.com/abrahams/resume.html (*) \(*) ==
          email: david.abrahams_at_[hidden]
+---------------------------------------------------------------+


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