size_t index=-1;

tsbockman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Mar 19 02:35:00 PDT 2016


On Saturday, 19 March 2016 at 08:49:29 UTC, Ola Fosheim Grøstad 
wrote:
> On Friday, 18 March 2016 at 23:35:42 UTC, tsbockman wrote:
>> `ulong.max` and `-1L` are fundamentally different 
>> semantically, even with two's complement modular arithmetic.
>
> Different types implies different semantics, but not the 
> literals in isolation.

Both of the literals I used in my example explicitly indicate the 
type, not just the value.



More information about the Digitalmars-d-learn mailing list