
5 Apr
2007
5 Apr
'07
10:40 p.m.
Matthias Schabel said: (by the date of Thu, 5 Apr 2007 15:49:19 -0600)
std::cout << conversion_factor<double>(CGS::dyne,SI::newton) << std::endl;
great, thanks :)
std::cout << quantity<SI::dimensionless>(1.0*CGS::dyne/SI::newton) << std::endl;
At the moment this is still broken - we'll work on fixing it. I think that the conversion_factor<> syntax should be preferred anyway as it more clearly demonstrates the intent of the code.
oh, I prefer conversion_factor<> too. -- Janek Kozicki |