Why do shift operators undergo integral promotion?

bearophile bearophileHUGS at lycos.com
Tue Aug 9 14:19:22 PDT 2011


Jonathan M Davis:

> There's no reason to have a separate version of the language which is more 
> compatible with C than another version. It would just complicate things. Not 
> only would it be a burden on the compiler maintainers, but then you would have 
> to know whether code was intended to be compiled with the standard D compiler 
> or with the one which is more compatible with C. It would be a mess for very 
> little benefit.

You are too much quick at dismissing this. There are several advantages you aren't even listing.

Bye,
bearophile


More information about the Digitalmars-d mailing list