Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-03-28 20:20:47


Lewis Hyatt <lhyatt <at> princeton.edu> writes:

> Also problematic is F2, which does compile, albeit with a warning, but
> then does the wrong thing at run time. The output of this program is:
>
> 1e-05 m kg s^(-2)
> 0 m kg s^(-2)
> 1e-05 m kg s^(-2)

Mathias, for this reason quantity_cast should be

quantity_cast<quantity<SI::force> >(q)

Agreed?

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk