
8 May
2008
8 May
'08
9:56 a.m.
Hello, John. Thursday, May 8, 2008 at 1:47:23 PM you wrote:
Are you missing a 1? No. '1' should be added to BAR_MACRO_ after processing BOOST_PP_CAT.
JF> Ok, JF> I am no expert at preprocessor so it is easy to get confused :) JF> Have you tried: JF> #define FOO_MACRO(S) BOOST_PP_CAT(BAR_MACRO_, BOOST_PP_SEQ_HEAD(S))(S) JF> That looks more straightforward to me. Thanks a lot! It's much better! :) -- Best Regards, Sergey mailto:flex_ferrum@artberg.ru