[OT] The Usual Arithmetic Confusions

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sat Feb 19 09:51:23 UTC 2022


On Saturday, 19 February 2022 at 09:49:20 UTC, Ola Fosheim 
Grøstad wrote:
> On Friday, 18 February 2022 at 10:13:07 UTC, forkit wrote:
>> In a language that does implicit conversion on primitive 
>> types, I would prefer that the programmer have the tools to 
>> undefine those implicit conversions.
>
> The easy solution is to have LDC and GDC implement a command 
> line switch that restricts unsigned to signed conversions 
> without a cast?

Or the opposite…



More information about the Digitalmars-d mailing list