|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r68156 - trunk/boost/detail
From: admin_at_[hidden]
Date: 2011-01-14 12:39:37
Author: wash
Date: 2011-01-14 12:39:36 EST (Fri, 14 Jan 2011)
New Revision: 68156
URL: http://svn.boost.org/trac/boost/changeset/68156
Log:
Fixed issue with iomanip implementation + Apache stdlib.
Text files modified:
trunk/boost/detail/iomanip.hpp | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
Modified: trunk/boost/detail/iomanip.hpp
==============================================================================
--- trunk/boost/detail/iomanip.hpp (original)
+++ trunk/boost/detail/iomanip.hpp 2011-01-14 12:39:36 EST (Fri, 14 Jan 2011)
@@ -8,6 +8,7 @@
#ifndef BOOST_DETAIL_IOMANIP_HPP
#define BOOST_DETAIL_IOMANIP_HPP
+#include <ios>
#include <istream>
#include <ostream>
@@ -93,13 +94,13 @@
using namespace std;
switch (x.base) {
case 8:
- is.setf(ios_base::oct, ios_base::basefield);
+ is << std::oct;
return is;
case 10:
- is.setf(ios_base::dec, ios_base::basefield);
+ is << std::dec;
return is;
case 16:
- is.setf(ios_base::hex, ios_base::basefield);
+ is << std::hex;
return is;
default:
is.setf(ios_base::fmtflags(0), ios_base::basefield);
@@ -113,13 +114,13 @@
using namespace std;
switch (x.base) {
case 8:
- os.setf(ios_base::oct, ios_base::basefield);
+ os << std::oct;
return os;
case 10:
- os.setf(ios_base::dec, ios_base::basefield);
+ os << std::dec;
return os;
case 16:
- os.setf(ios_base::hex, ios_base::basefield);
+ os << std::hex;
return os;
default:
os.setf(ios_base::fmtflags(0), ios_base::basefield);
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk