This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
another minor patch
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: another minor patch
- From: Steven King <sxking at uswest dot net>
- Date: Sun, 30 Apr 2000 22:48:12 -0700
- Organization: is the root of all evil
- Reply-To: sxking at uswest dot net
missing 'typename' s.
2000-04-30 Steven King <sxking@uswest.net>
* bits/locale_facets.h: Fix syntax error.
* bits/std_fstream.h: ditto
Index: libstdc++-v3/bits/locale_facets.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/bits/locale_facets.h,v
retrieving revision 1.1
diff -c -r1.1 locale_facets.h
*** locale_facets.h 2000/04/21 20:33:28 1.1
--- locale_facets.h 2000/05/01 05:41:16
***************
*** 750,756 ****
typedef _CharT char_type;
typedef char_traits<_CharT> traits_type;
typedef basic_string<_CharT> string_type;
! typedef string_type::size_type size_type;
// Forward decls and Friends:
friend class locale;
--- 750,756 ----
typedef _CharT char_type;
typedef char_traits<_CharT> traits_type;
typedef basic_string<_CharT> string_type;
! typedef typename string_type::size_type size_type;
// Forward decls and Friends:
friend class locale;
Index: libstdc++-v3/bits/std_fstream.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/bits/std_fstream.h,v
retrieving revision 1.2
diff -c -r1.2 std_fstream.h
*** std_fstream.h 2000/04/28 02:50:54 1.2
--- std_fstream.h 2000/05/01 05:41:16
***************
*** 59,65 ****
typedef __basic_file __file_type;
typedef typename _Traits::state_type __state_type;
typedef codecvt<_CharT, char, __state_type> __codecvt_type;
! typedef codecvt<_CharT, char, __state_type>::result __res_type;
friend ios_base; // For sync_with_stdio.
--- 59,65 ----
typedef __basic_file __file_type;
typedef typename _Traits::state_type __state_type;
typedef codecvt<_CharT, char, __state_type> __codecvt_type;
! typedef typename codecvt<_CharT, char, __state_type>::result __res_type;
friend ios_base; // For sync_with_stdio.
--
Steven King
sxking@uswest.net