opAssign overload question
Ali Çehreli
acehreli at yahoo.com
Thu Apr 25 14:07:08 PDT 2013
On 04/25/2013 12:48 PM, bearophile wrote:
> Ali Çehreli:
>
>> If bool is considered to be more specialized than long, then the
>> compiler is behaving according to spec. It is very confusing indeed.
>
> In my code I've shown that 1 matches the bool function and 10 matches
> the long function. Is this acceptable? It seems a bit ridiculous.
Now on the main newsgroup:
http://forum.dlang.org/post/klc5r7$3c4$1@digitalmars.com
Ali
More information about the Digitalmars-d-learn
mailing list