Scheduler/Console: Fix overload resolution order when adding parsed commands
[senf.git] / Utils / mpl.hh
index 02cf225..f33ca7e 100644 (file)
@@ -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 <class _> 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////////////////////////////////////////