X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2Fpreprocessor.hh;h=0e4d7333392262a9745a9fb9f764275e474562ac;hb=78a6e233083efa63a9cd0684a92abc64202a9ee7;hp=915f9be2cfedf03824166625c3d6215a13e54f02;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/preprocessor.hh b/senf/Utils/preprocessor.hh index 915f9be..0e4d733 100644 --- a/senf/Utils/preprocessor.hh +++ b/senf/Utils/preprocessor.hh @@ -42,11 +42,20 @@ ///\{ ///\ingroup senfpp -/** \brief Return last element of a sequence - \hideinitializer +/** \brief Return last element of a sequence + \hideinitializer */ #define SENF_PP_SEQ_BACK(seq) BOOST_PP_SEQ_ELEM(BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(seq)),seq) +# // No recursive call so we need some more of theese ... ARGH !!! +# define SENF_CAT_RECURS1(a, b) SENF_CAT_RECURS1_I(a,b) +# define SENF_CAT_RECURS1_I(a, b) a ## b +# define SENF_CAT_RECURS2(a, b) SENF_CAT_RECURS2_I(a,b) +# define SENF_CAT_RECURS2_I(a, b) a ## b +# define SENF_CAT_RECURS3(a, b) SENF_CAT_RECURS3_I(a,b) +# define SENF_CAT_RECURS3_I(a, b) a ## b +# + ///\} ///////////////////////////////hh.e////////////////////////////////////////