problem with size_t and an easy solution

Freddy via Digitalmars-d digitalmars-d at puremagic.com
Sun Dec 7 18:29:49 PST 2014


On Monday, 8 December 2014 at 02:04:58 UTC, ketmar via
Digitalmars-d wrote:
> On Mon, 08 Dec 2014 01:50:44 +0000
> Freddy via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
>
>> I would like if usize wasn't implictly convertable to uint or
>> ulong
> me too, but this change is too radical. it will not break any 
> of my
> own code ('cause i used to write casts for that stupid 64-bit 
> systems to
> shut up), but i doubt that other people will agree with such 
> change.

Why not keep size_t implictly convertable but disallow it for
usize.


More information about the Digitalmars-d mailing list