Utils/RestrictedInt: export Base and Tag template types
[senf.git] / senf / Utils / RestrictedInt.hh
index 0beb4d3..ded9737 100644 (file)
@@ -32,7 +32,7 @@
 #include <senf/Utils/safe_bool.hh>
 
 //#include "RestrictedInt.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 
 namespace senf {
 
@@ -49,6 +49,9 @@ namespace senf {
                  senf::comparable_safe_bool< RestrictedInt<Base,Tag> > > > > >
     {
     public:
+        typedef Base base_type;
+        typedef Tag tag_type;
+
         explicit RestrictedInt(Base value) : value_ (value) {}
         RestrictedInt() : value_ () {}
 
@@ -110,7 +113,7 @@ namespace senf {
 
 }
 
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 //#include "RestrictedInt.cci"
 //#include "RestrictedInt.ct"
 //#include "RestrictedInt.cti"