20 May
2010
20 May
'10
1:26 a.m.
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@schabel-family.org> Newsgroups: gmane.comp.lib.boost.user To: <boost-users@lists.boost.org> 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...