Boost logo

Boost :

From: Matthias Schabel (boost_at_[hidden])
Date: 2007-04-04 22:49:41

> 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...


Boost list run by bdawes at, gregod at, cpdaniel at, john at