OSDN Git Service

pointer_facade を微修正
authorSubaruG <subaru_g@users.sourceforge.jp>
Thu, 28 Jan 2010 17:54:56 +0000 (02:54 +0900)
committerSubaruG <subaru_g@users.sourceforge.jp>
Thu, 28 Jan 2010 17:54:56 +0000 (02:54 +0900)
gintenlib/pointer_facade.hpp

index 4d5af9f..186efcb 100644 (file)
 namespace gintenlib
 {
   template< typename Derived, typename T, typename Category = Derived >
-  class pointer_facade
-    : public bool_comparable< pointer_facade< Derived, T, Category > >
+  struct pointer_facade
+    : bool_comparable< pointer_facade< Derived, T, Category > >
   {
-    typedef pointer_facade<Derived, T, Category> this_type;
-    
-   public:
     // スマートポインタとして必要なあれこれ
     typedef T  element_type;
     typedef T  value_type;