This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: adding 'using std::flush' to backward/iostream.h


On Mon, Feb 26, 2001 at 05:26:40AM +0100, Gabriel Dos Reis wrote:
> | through the backward headers.  Should they be added to iostream.h or
> | iomanip.h?  My inclination is the latter.
> 
> Agreed.

Opinions on this patch, for both mainline and branch?


Index: iomanip.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/backward/iomanip.h,v
retrieving revision 1.3
diff -u -3 -r1.3 iomanip.h
--- iomanip.h	2000/12/23 07:13:57	1.3
+++ iomanip.h	2001/02/26 04:52:54
@@ -31,6 +31,27 @@
 #include <iostream.h>
 #include <bits/std_iomanip.h>
 
+using std::boolalpha;
+using std::noboolalpha;
+using std::showbase;
+using std::noshowbase;
+using std::showpoint;
+using std::noshowpoint;
+using std::showpos;
+using std::noshowpos;
+using std::skipws;
+using std::noskipws;
+using std::uppercase;
+using std::nouppercase;
+using std::internal;
+using std::left;
+using std::right;
+using std::dec;
+using std::hex;
+using std::oct;
+using std::fixed;
+using std::scientific;
+
 using std::resetiosflags;
 using std::setiosflags;
 using std::setbase;
Index: iostream.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/backward/iostream.h,v
retrieving revision 1.3
diff -u -3 -r1.3 iostream.h
--- iostream.h	2001/02/23 17:47:34	1.3
+++ iostream.h	2001/02/26 04:52:54
@@ -47,6 +47,7 @@
 using std::wclog;
 #endif
 
+using std::ws;
 using std::endl;
 using std::ends;
 using std::flush;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]