Karpov, Walter and D

Walter Bright newshound2 at digitalmars.com
Mon Feb 4 15:24:45 PST 2013


On 2/4/2013 3:13 PM, bearophile wrote:
>> The unsigned<0 is usually a bug when it appears in top level code. However, it
>> can legitimately appear as a boundary case inside of generic code.<
>
> Then maybe it's possible to warn/error only about those comparisons that are
> _not_ inside a template.

I can see the bug reports on such an inconsistency already.

As a general note, putting idiomatic rules into the language like that makes it 
larger and significantly more difficult to comprehend.



More information about the Digitalmars-d-announce mailing list