Is this reasonable?

Maxim Fomin maxim at maxim-fomin.ru
Thu Dec 5 10:16:29 PST 2013


On Thursday, 5 December 2013 at 17:15:39 UTC, Steve Teale wrote:
>
> Is this unavoidable, or could the compiler safely make the 
> conversion implicitly?

It is example of notorious phenomemena called "integer 
promotions" and "usual arithmetic conversions". It is unavoidable 
given Walter's decision to keep this C stuff in D.


More information about the Digitalmars-d-learn mailing list