Problem with integral promotions
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jul 22 13:36:50 PDT 2017
Jerry wrote:
> What code would break? Are there any examples of D code that would break
> as a result of the change?
basically, any template that has small integral type T and does unary +/-/~
on it. and there *is* such code in phobos, and it's not explicitly tested
for different integral sizes. when i added a warning, i had to fix phobos
in several places, but i'm pretty sure that there are ALOT more.
More information about the Digitalmars-d
mailing list