Boost logo

Boost Users :

Subject: Re: [Boost-users] [units] How to assign "ft" to an si::length?
From: Terry Golubiewski (tjgolubi_at_[hidden])
Date: 2010-05-19 19:23:03


So far, so good. Thank you very much for your patience.
This last one should carry me until tomorrow...

typedef quantity<si::length> Length;
typedef [what goes here?] km_unit_type;
const km_unit_type = km;

Length x = 3.0 * km;

terry


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net