Boost logo

Boost-Commit :

From: boost_at_[hidden]
Date: 2008-05-27 18:22:00


Author: matthiasschabel
Date: 2008-05-27 18:22:00 EDT (Tue, 27 May 2008)
New Revision: 45836
URL: http://svn.boost.org/trac/boost/changeset/45836

Log:
simplify typename_format output more
Text files modified:
   sandbox/units/boost/units/detail/utility.hpp | 8 +++++++-
   1 files changed, 7 insertions(+), 1 deletions(-)

Modified: sandbox/units/boost/units/detail/utility.hpp
==============================================================================
--- sandbox/units/boost/units/detail/utility.hpp (original)
+++ sandbox/units/boost/units/detail/utility.hpp 2008-05-27 18:22:00 EDT (Tue, 27 May 2008)
@@ -57,8 +57,14 @@
         
         std::free(realname);
         
+ boost::replace_all(out," ","");
         boost::replace_all(out,"boost::units::","");
-
+ boost::replace_all(out,"static_rational","R");
+ boost::replace_all(out,"dimensionless_type","dl");
+ boost::replace_all(out,"_base_dimension","_bd");
+ boost::replace_all(out,"_base_unit","_bu");
+ boost::replace_all(out,"heterogeneous_system","hts");
+
         return out;
     }
     


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