X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fmpl.hh;h=761ebf45ebe6850ffa2a04cac0f7e07573b6d52e;hb=d6abda313f70c8a849c5e3f3bbfc12ce301789f1;hp=bb9115eb2f0b1cb9bb991de6b63f3f24f7849bd3;hpb=54eed72c506b09ef5b4be0b62fecedfbc0e3f261;p=senf.git diff --git a/Utils/mpl.hh b/Utils/mpl.hh index bb9115e..761ebf4 100644 --- a/Utils/mpl.hh +++ b/Utils/mpl.hh @@ -39,6 +39,15 @@ namespace mpl { /** \defgroup senfmpl Low-level template meta programming helpers */ + /** \brief Marker class for empty default values etc. + + This is like Boosts \c boost::mpl::na just an empty class used as template default argument + to mark missing arguments + + \note Don't use this as an empty base class. We may add some informative members to this. + */ + struct nil {}; + /** \brief Return-value type used to implement overload selection The senf::mpl::rv type is used together with \ref SENF_MPL_RV() to select template