]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
stl_tempbuf.h (temporary_buffer): Add missing typename.
authorKlaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
Sun, 12 Jul 1998 03:18:39 +0000 (03:18 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 12 Jul 1998 03:18:39 +0000 (23:18 -0400)
* stl_tempbuf.h (temporary_buffer): Add missing typename.
* type_traits.h: update comments.

From-SVN: r21075

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

index 82cdfe398044c08a82d9405ce706c66160fdec4e..c94d6a9d71b721eee6f5b89c2e259bc4c53387cf 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 5c971e6208a80df79455c87735f19e0fc68e4a2b..9dbc238eaeeaa1d98a8c590f583039f9ac0c4bca 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 a7b977cc06b9bf070319cb054fa2387e7678ec58..40c633913e199d14d18c1dfd3d0294a00a8089d0 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());
 }
 */