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 21:26:20


Yep, that's it. Sorry.
I thought they were equivalent. Hmm.
Could you please point me to somewhere that explains the difference between
implicit and explicit construction?

terry

----- Original Message -----
From: "Matthias Schabel" <boost_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.user
To: <boost-users_at_[hidden]>
Sent: Wednesday, May 19, 2010 7:31 PM
Subject: Re: [units] How to assign "ft" to an si::length?

> 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