
7 Mar
2011
7 Mar
'11
2:16 p.m.
On Thu, Mar 3, 2011 at 4:58 PM, Matthias Schabel
Why don't you give a code snippet that does what you want to do?
using namespace boost::units;
class Test {
public:
void setX(quantitysi::length const& x) {
m_X = x;
}
private:
quantitysi::length m_X;
};
int main(int, char const *[]) {
typedef boost::units::us::foot_base::unit_type foot_unit;
static const foot_unit foot;
Test a;
quantitysi::length first (1.0 *
si::meter);
quantity