X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2Fpreprocessor.hh;h=379a613acfabc0e0a797b054020e17f369f27f90;hb=4101c2b818ec67e7469ebb44f030eed2185c4ab0;hp=b358f0424dc316d99d3593fa886e5baeb253f582;hpb=9cb871b939efe93e35dd96808d25089399acfc46;p=senf.git diff --git a/senf/Utils/preprocessor.hh b/senf/Utils/preprocessor.hh index b358f04..379a613 100644 --- a/senf/Utils/preprocessor.hh +++ b/senf/Utils/preprocessor.hh @@ -32,14 +32,14 @@ #include //#include "preprocessor.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// /** \defgroup senfpp Preprocessor meta programming preprocessor.hh provides some additional helper macros based on the Boost.Preprocessor library. */ -///\{ +//\{ ///\ingroup senfpp /** \brief Return last element of a sequence @@ -47,9 +47,18 @@ */ #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//////////////////////////////////////// +//\} + +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "preprocessor.cci" //#include "preprocessor.ct" //#include "preprocessor.cti"