20 May
2010
20 May
'10
5:01 a.m.
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