flagging unsigned subtraction assigned to bigger signed number?

Steven Schveighoffer schveiguy at gmail.com
Tue May 20 15:20:10 UTC 2025


On Tuesday, 20 May 2025 at 11:12:03 UTC, Guillaume Piolat wrote:
> On Tuesday, 20 May 2025 at 03:11:47 UTC, Steven Schveighoffer 
> wrote:
>>
>> Thoughts?
>>
>
> Alt view: provide .ilength as a signed equivalent that would be 
> here ptrdiff_t

In this case, that wouldn't help. Because everything signed is 
promoted to unsigned.

-Steve


More information about the Digitalmars-d mailing list