
8 May
2008
8 May
'08
10:37 a.m.
Hello, John. Thursday, May 8, 2008 at 2:24:56 PM you wrote: JF> Since PP_CAT in the first version expanded to BAR_MACRO_1(S), the JF> preprocessor expanded it which invokes PP_CAT again. JF> By putting the sequence outside of the PP_CAT macro, it just expanded JF> to BAR_MACRO_1 -- no parenthesis -- and therefor it was not expanded JF> inside PP_CAT macro, and we were safe. JF> Since your own macro was not PP_CAT, there was no recursion in yours and JF> apparently everything worked. JF> At least I think that is what happened :) Yes. I think so too. John, thanks a lot for such extended explanation! You really help me. -- Best Regards, Sergey mailto:flex_ferrum@artberg.ru