another minor patch
Steven King
sxking@uswest.net
Sun Apr 30 22:51:00 GMT 2000
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
More information about the Libstdc++
mailing list