This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[V3 PATCH] Fix for defect report libstdc++/1968
- To: bumgard at roguewave dot com, libstdc++ at gcc dot gnu dot org,gcc-patches at gcc dot gnu dot org
- Subject: [V3 PATCH] Fix for defect report libstdc++/1968
- From: bumgard at roguewave dot com
- Date: 15 Feb 2001 00:29:07 -0000
Another one of those errors that should have shown up long ago?
Don't you just love partial instantiation?
2001-02-13 Greg Bumgardner <bumgard@roguewave.com>
* libstdc++-v3/include/bits/std_fstream.h: Added typedef for
_ctype_type.
Index: gcc/libstdc++-v3/include/bits/std_fstream.h
diff -c gcc/libstdc++-v3/include/bits/std_fstream.h:1.1.1.1 gcc/libstdc++-v3/include/bits/std_fstream.h:1.1.1.1.20.1
*** gcc/libstdc++-v3/include/bits/std_fstream.h:1.1.1.1 Tue Feb 13 00:21:14 2001
--- gcc/libstdc++-v3/include/bits/std_fstream.h Tue Feb 13 12:50:34 2001
***************
*** 60,65 ****
--- 60,66 ----
typedef typename traits_type::state_type __state_type;
typedef codecvt<char_type, char, __state_type> __codecvt_type;
typedef typename __codecvt_type::result __res_type;
+ typedef ctype<char_type> __ctype_type;
friend class ios_base; // For sync_with_stdio.