Boost logo

Boost Users :

Subject: Re: [Boost-users] [units] How to assign "ft" to an si::length?
From: Matthias Schabel (boost_at_[hidden])
Date: 2010-05-19 20:31:09


Explicit construction works, but assignment (which is implicit) does not...that's why Steven keeps recommending the explicit constructor - XX(3.0*ft) - syntax.

Matthias

> Length x = 3.0 ft did not compile, see below...


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