
5 Apr
2007
5 Apr
'07
2:49 a.m.
It should be a compile error. Try
quantity<SI::dimensionless>(1.0*CGS::dyne/SI::newton)
With the sandbox version
But dimensionless quantities should be implicitly convertible to value_type, so I agree with Janek that this should just work. It should also be a compile error to attempt to create a dimensionless heterogeneous quantity that is not reducible to value_type... Matthias