OSDN Git Service

bool_comparable のバグを訂正
authorSubaruG <subaru_g@users.sourceforge.jp>
Thu, 28 Jan 2010 18:18:33 +0000 (03:18 +0900)
committerSubaruG <subaru_g@users.sourceforge.jp>
Thu, 28 Jan 2010 18:18:33 +0000 (03:18 +0900)
gintenlib/bool_comparable.hpp

index ca3de1c..a9b375c 100644 (file)
 
 namespace gintenlib
 {
- namespace bool_comparable_ // ADL 回避
- {
   // ヘルパ構造体
   namespace detail_
   {
@@ -202,6 +200,8 @@ namespace gintenlib
     };
   }
   
+ namespace bool_comparable_ // ADL 回避
+ {
   // 本体
   template<typename Derived>
   class bool_comparable
@@ -217,7 +217,7 @@ namespace gintenlib
     template<typename U> friend class bool_comparable;
     
     // ヘルパ構造体名を適当に短縮
-    typedef detail_::bool_comparable_helper helper;
+    typedef ::gintenlib::detail_::bool_comparable_helper helper;
     
    public:
     // 本題