Make <boost/detail/iomanip.hpp> include <iomanip> and put the <iomanip> functions

in the boost::detail namespace if not on clang- or intel-linux.



[SVN r68165]
This commit is contained in:
Bryce Adelstein-Lelbach
2011-01-15 02:23:46 +00:00
parent 74a47fbf05
commit e3049b1480

View File

@@ -8,6 +8,10 @@
#ifndef BOOST_DETAIL_IOMANIP_HPP
#define BOOST_DETAIL_IOMANIP_HPP
#include <boost/config.hpp>
#if (defined(BOOST_CLANG) || defined(BOOST_INTEL_LINUX)) && \
defined(BOOST_GNU_STDLIB)
#include <ios>
#include <istream>
#include <ostream>
@@ -221,5 +225,22 @@ inline setw_manip setw (int n_) {
} // detail
} // boost
#endif // BOOST_DETAIL_IOMANIP_HPP
#else
#include <iomanip>
namespace boost {
namespace detail {
using ::std::resetiosflags;
using ::std::setiosflags;
using ::std::setbase;
using ::std::setfill;
using ::std::setprecision;
using ::std::setw;
} // detail
} // boost
#endif
#endif // BOOST_DETAIL_IOMANIP_HPP