OSDN Git Service

* stl_tempbuf.h (temporary_buffer): Add missing typename.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Jul 1998 03:18:39 +0000 (03:18 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Jul 1998 03:18:39 +0000 (03:18 +0000)
* type_traits.h: update comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21075 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++/stl/ChangeLog
libstdc++/stl/stl_tempbuf.h
libstdc++/stl/type_traits.h

index 82cdfe3..c94d6a9 100644 (file)
@@ -1,3 +1,8 @@
+Fri Jul 10 15:20:09 1998  Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
+
+       * stl_tempbuf.h (temporary_buffer): Add missing typename.
+       * type_traits.h: update comments.
+
 Sun Jun 28 00:49:42 1998  Jeffrey A Law  (law@cygnus.com)
 
        * stl_config.h (__STL_PTHREADS): Don't define for glibc 2 if
index 5c971e6..9dbc238 100644 (file)
@@ -99,7 +99,7 @@ public:
       allocate_buffer();
       if (len > 0)
         initialize_buffer(*first,
-                          __type_traits<T>::has_trivial_default_constructor());
+                          typename __type_traits<T>::has_trivial_default_constructor());
     }
     __STL_UNWIND(free(buffer); buffer = 0; len = 0);
   }
index a7b977c..40c6339 100644 (file)
@@ -46,7 +46,7 @@ template <class T> void copy(T* source,T* destination,int n,__true_type);
 
 //Copy an array of any type by using the most efficient copy mechanism
 template <class T> inline void copy(T* source,T* destination,int n) {
-   copy(source,destination,n,__type_traits<T>::has_trivial_copy_constructor());
+   copy(source,destination,n,typename __type_traits<T>::has_trivial_copy_constructor());
 }
 */