OSDN Git Service

2001-02-26 Phil Edwards <pme@sources.redhat.com>
authorpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Feb 2001 20:33:09 +0000 (20:33 +0000)
committerpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Feb 2001 20:33:09 +0000 (20:33 +0000)
Fixes libstdc++/2079
* include/backward/iomanip.h:  Expose <ios> manipulators to global
  namespace.
* include/backward/iostream.h:  Also expose std::ws.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40073 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/backward/iomanip.h
libstdc++-v3/include/backward/iostream.h

index b9c5ef3..9984dc6 100644 (file)
@@ -1,3 +1,10 @@
+2001-02-26  Phil Edwards  <pme@sources.redhat.com>
+
+       Fixes libstdc++/2079
+       * include/backward/iomanip.h:  Expose <ios> manipulators to global
+         namespace.
+       * include/backward/iostream.h:  Also expose std::ws.
+
 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
 
        * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
index 432252c..3f99045 100644 (file)
 #include <iostream.h>
 #include <bits/std_iomanip.h>
 
+// These are from <ios> as per [27.4].
+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;
+
+// These are from <iomanip> as per [27.6].  Manipulators from <istream>
+// and <ostream> (e.g., endl) are made available via <iostream.h>.
 using std::resetiosflags;
 using std::setiosflags;
 using std::setbase;
index 0baf5d1..81877d8 100644 (file)
@@ -47,6 +47,7 @@ using std::wcerr;
 using std::wclog;
 #endif
 
+using std::ws;
 using std::endl;
 using std::ends;
 using std::flush;