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.