
8 May
2008
8 May
'08
9:47 a.m.
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