|
Boost Users : |
From: John Femiani (JOHN.FEMIANI_at_[hidden])
Date: 2008-05-08 05:47:23
> Are you missing a 1?
> No. '1' should be added to BAR_MACRO_ after processing BOOST_PP_CAT.
>
Ok,
I am no expert at preprocessor so it is easy to get confused :)
Have you tried:
#define FOO_MACRO(S) BOOST_PP_CAT(BAR_MACRO_, BOOST_PP_SEQ_HEAD(S))(S)
That looks more straightforward to me.
-- JOhn
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