svn:keywords property set
[senf.git] / Utils / SafeBool.hh
index 02f4151..ff10e58 100644 (file)
@@ -79,7 +79,7 @@ namespace senf {
         SafeBool to safe_bool (I tend to the latter ...)
      */
     template <typename T>
-    class SafeBool
+    class ComparableSafeBool
         : public SafeBoolBase
     {
     public:
@@ -87,9 +87,12 @@ namespace senf {
         bool operator !() const;
 
     protected:
-        ~SafeBool();
+        ~ComparableSafeBool();
     };
 
+    template <typename T>
+    class SafeBool : public ComparableSafeBool<T> {};
+
     template <typename T, typename U>
     void operator==(const SafeBool<T>& lhs,const SafeBool<U>& rhs);
 
@@ -113,4 +116,5 @@ namespace senf {
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End: