<fstream.h> and filebuf

Andreas Schwab schwab@suse.de
Mon Apr 2 09:31:00 GMT 2001


<fstream.h> does not define filebuf. I think it should, and also wfilebuf.

Andreas.

2001-04-02  Andreas Schwab  <schwab@suse.de>

	* include/backward/fstream.h: Define filebuf and wfilebuf.

--- include/backward/fstream.h.~1.2.~	Wed Nov 22 09:59:57 2000
+++ include/backward/fstream.h	Mon Apr  2 18:25:33 2001
@@ -30,11 +30,13 @@
 
 #include <bits/std_fstream.h>
 
+using std::filebuf;
 using std::ifstream;
 using std::ofstream;
 using std::fstream;
 
 #ifdef _GLIBCPP_USE_WCHAR_T
+using std::wfilebuf;
 using std::wifstream;
 using std::wofstream;
 using std::wfstream;

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



More information about the Gcc-patches mailing list