[V3 PATCH] Fix for defect report libstdc++/1968

bumgard@roguewave.com bumgard@roguewave.com
Wed Feb 14 16:29:00 GMT 2001


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.
  



More information about the Libstdc++ mailing list