|
From: Steven W. <ste...@us...> - 2007-04-04 23:04:12
|
Update of /cvsroot/boost-sandbox/boost-sandbox/boost/units In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17234/boost-sandbox/boost/units Modified Files: quantity.hpp Log Message: Fixed dimensionless_type specialization Index: quantity.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/quantity.hpp,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- quantity.hpp 3 Apr 2007 20:27:51 -0000 1.13 +++ quantity.hpp 4 Apr 2007 23:04:08 -0000 1.14 @@ -144,10 +144,11 @@ /// unit systems are allowed because all dimensionless quantities are equivalent. /// Implicit construction and assignment from and conversion to @c value_type is /// also allowed. -template<class System,class Y> -class quantity<unit<dimensionless_type,System>,Y> +template<class SystemTag,class Y> +class quantity<unit<dimensionless_type,homogeneous_system<SystemTag> >,Y> { public: + typedef homogeneous_system<SystemTag> System; typedef quantity<unit<dimensionless_type,System>,Y> this_type; typedef Y value_type; |