|
Boost : |
From: Janek Kozicki (janek_listy_at_[hidden])
Date: 2007-04-05 18:40:22
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 |
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk