X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fmpl.hh;h=fb1b5664c36e900b4e817f626cd5dfec857e5b1f;hb=3863d46dd898b7bc35ea8c6ccd8563b18762a6b6;hp=02cf225946f02174d8b368e1ccd6117e4118df70;hpb=a1a6c76a214ad1935032826713cabaf9ac57bf07;p=senf.git diff --git a/Utils/mpl.hh b/Utils/mpl.hh index 02cf225..fb1b566 100644 --- a/Utils/mpl.hh +++ b/Utils/mpl.hh @@ -23,8 +23,8 @@ /** \file \brief mpl public header */ -#ifndef HH_mpl_ -#define HH_mpl_ 1 +#ifndef HH_SENF_Utils_mpl_ +#define HH_SENF_Utils_mpl_ 1 // Custom includes #include "../config.hh" @@ -45,6 +45,7 @@ namespace mpl { to mark missing arguments \note Don't use this as an empty base class. We may add some informative members to this. + \ingroup senfmpl */ struct nil {}; @@ -155,6 +156,8 @@ namespace mpl { */ template struct take_class {}; +#ifndef SENF_MPL_SLOT_NOEXPAND + /** \brief Define MPL slot The slot macros \ref SENF_MPL_SLOT_DEF(), \ref SENF_MPL_SLOT_SET() and \ref @@ -219,6 +222,8 @@ namespace mpl { # define SENF_MPL_SLOT_GET(name) \ SENF_MPL_SLOT_I_GET(name) +#endif + }} ///////////////////////////////hh.e////////////////////////////////////////