|
From: Steven W. <ste...@us...> - 2007-04-13 01:38:45
|
Update of /cvsroot/boost-sandbox/boost-sandbox/libs/units/example In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31901/boost-sandbox/libs/units/example Modified Files: measurement.hpp Log Message: remove std::setw Index: measurement.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/units/example/measurement.hpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- measurement.hpp 5 Apr 2007 21:09:34 -0000 1.3 +++ measurement.hpp 13 Apr 2007 01:38:40 -0000 1.4 @@ -313,10 +313,10 @@ std::ostream& operator<<(std::ostream& os,const measurement<Y>& val) { boost::io::ios_precision_saver precision_saver(os); - boost::io::ios_width_saver width_saver(os); + //boost::io::ios_width_saver width_saver(os); boost::io::ios_flags_saver flags_saver(os); - os << std::setw(21); + //os << std::setw(21); if (val.uncertainty() > Y(0)) { @@ -334,7 +334,7 @@ os << " (rel. unc. = " << std::setprecision(1) - << std::setw(7) + //<< std::setw(7) << std::scientific << relative_uncertainty << ")"; } |