$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [units] How to assign "ft" to an si::length?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-20 01:01:12
AMDG
Terry Golubiewski wrote:
> 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?
X x = y;
is defined to call the copy constructor of X.
This requires an implicit conversion from y to X.
X x(y);
does normal overload resolution for the constructor.
In Christ,
Steven Watanabe