
19 May
2010
19 May
'10
8:48 p.m.
AMDG Terry Golubiewski wrote:
Got it! Now the other part...
typedef quantitysi::length Length; Length x = 3.0 * ft;
If x is an SI unit, how can I convert from "ft"? I'm missing something, but I'm not sure what.
First define ft as static const us::foot_base_unit::unit_type ft; Then Length x(3.0 * ft); should work. In Christ, Steven Watanabe