Why does intpromote spew warnings for ~ operator?

Steven Schveighoffer schveiguy at gmail.com
Mon Sep 13 11:42:17 UTC 2021


On 9/13/21 3:41 AM, Walter Bright wrote:
> On 9/12/2021 11:12 PM, Alexey wrote:
>> But is this really ok to change variable size for simple bit flipping?
> 
> The idea is that C like expressions should behave like C.

C allows exactly what he wrote, and it already works the same as it does 
in C.

-Steve


More information about the Digitalmars-d mailing list