Error on negating unsigned types

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 12 08:00:58 PDT 2017


On 07/11/2017 03:46 PM, Johan Engelen wrote:
> So, adding the error may be nice, but it would make generic code a 
> little more verbose.
> Ideas? People OK with that?

A compelling argument is that the rule exposed two bugs in Phobos. -- Andrei



More information about the Digitalmars-d mailing list