Boost logo

Boost-Commit :

From: boost_at_[hidden]
Date: 2008-05-26 18:55:50


Author: matthiasschabel
Date: 2008-05-26 18:55:50 EDT (Mon, 26 May 2008)
New Revision: 45797
URL: http://svn.boost.org/trac/boost/changeset/45797

Log:
note that we don't wan't symbol/name_string to work for quantities
Text files modified:
   sandbox/units/libs/units/example/composite_output.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/units/libs/units/example/composite_output.cpp
==============================================================================
--- sandbox/units/libs/units/example/composite_output.cpp (original)
+++ sandbox/units/libs/units/example/composite_output.cpp 2008-05-26 18:55:50 EDT (Mon, 26 May 2008)
@@ -90,7 +90,7 @@
         std::cout << symbol_string(si::farad*si::nano) << std::endl;
         std::cout << name_string(si::farad*si::nano) << std::endl;
         
- // should work but doesn't
+ // doesn't work because we can't make assumptions about how user wants value() to be formatted
 // std::cout << symbol_string(si::nano*1.0*si::farad) << std::endl;
 // std::cout << name_string(1.0*si::nano*si::farad) << std::endl;
 


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