Packets: extended description of bad_cast exception in Packet.as()
[senf.git] / senf / Utils / preprocessor.hh
index 915f9be..0178d8b 100644 (file)
 #include <boost/preprocessor/dec.hpp>
 
 //#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 
-    \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 these ... 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"