diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-12 03:18:39 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-12 03:18:39 +0000 |
commit | a09354e5d814d4e484dece757dcc002474a4b4ad (patch) | |
tree | a8c4b9f7c5d09c73e4d47e0c19dd54b97002777b /libstdc++/stl | |
parent | e61fb55fbb2a7ade32b30224446259e4f3aafc46 (diff) | |
download | ppe42-gcc-a09354e5d814d4e484dece757dcc002474a4b4ad.tar.gz ppe42-gcc-a09354e5d814d4e484dece757dcc002474a4b4ad.zip |
* stl_tempbuf.h (temporary_buffer): Add missing typename.
* type_traits.h: update comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21075 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++/stl')
-rw-r--r-- | libstdc++/stl/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++/stl/stl_tempbuf.h | 2 | ||||
-rw-r--r-- | libstdc++/stl/type_traits.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++/stl/ChangeLog b/libstdc++/stl/ChangeLog index 82cdfe39804..c94d6a9d71b 100644 --- a/libstdc++/stl/ChangeLog +++ b/libstdc++/stl/ChangeLog @@ -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 diff --git a/libstdc++/stl/stl_tempbuf.h b/libstdc++/stl/stl_tempbuf.h index 5c971e6208a..9dbc238eaee 100644 --- a/libstdc++/stl/stl_tempbuf.h +++ b/libstdc++/stl/stl_tempbuf.h @@ -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); } diff --git a/libstdc++/stl/type_traits.h b/libstdc++/stl/type_traits.h index a7b977cc06b..40c633913e1 100644 --- a/libstdc++/stl/type_traits.h +++ b/libstdc++/stl/type_traits.h @@ -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()); } */ |