Commit a0086436 by Phil Edwards

Fixes libstdc++/2079

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.

From-SVN: r40073
parent 97897047
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> 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
* libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko. * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
......
...@@ -31,6 +31,30 @@ ...@@ -31,6 +31,30 @@
#include <iostream.h> #include <iostream.h>
#include <bits/std_iomanip.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::resetiosflags;
using std::setiosflags; using std::setiosflags;
using std::setbase; using std::setbase;
......
...@@ -47,6 +47,7 @@ using std::wcerr; ...@@ -47,6 +47,7 @@ using std::wcerr;
using std::wclog; using std::wclog;
#endif #endif
using std::ws;
using std::endl; using std::endl;
using std::ends; using std::ends;
using std::flush; using std::flush;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment