Re: [Dev-C++] function overloading ambiguity
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Hossein H. <ult...@em...> - 2004-05-01 12:37:06
|
<P>Hi Balázs,<BR><BR>> 1. function's parameter is: const string& <BR>> 2. function's parameter is: int <BR>> 3. function's parameter is: bool <BR></P> <P>I currently haven't got TC++PL:Spec at hand, but it seems that the matter is a conclusion of the precedence of conversions. As I get back to home, or to my laptop(!), I'll answer your question precisely. If you've got the book at hand, you can find it at the end chapters; somewhere in the "Technicalities" appendix, or somewhere around. (I'm nearly sure that I've read about that there.)</P> <P>All of the Best,<BR>--Hossein</P><BR> -- <p>__________________________________________________________<br> Sign-up for Ads Free at Mail.com<br> <a href="http://mail01.mail.com/scripts/payment/adtracking.cgi?bannercode=adsfreejump01" target="_blank">http://www.mail.com/?sr=signup</a></p> |