PROPOSAL: Implicit conversions of integer literals to floating

Walter Bright newshound2 at digitalmars.com
Thu Dec 30 16:44:38 PST 2010


Andrei Alexandrescu wrote:
> I agree there's an issue here, but not only with floating point numbers:
> 
> void fun(long);
> void fun(ulong);
> ...
> fun(2); // whaa?

That's a feature, not a bug.


More information about the Digitalmars-d mailing list