Is this reasonable?

Timon Gehr timon.gehr at gmx.ch
Thu Dec 5 13:06:55 PST 2013


On 12/05/2013 07:26 PM, Jonathan M Davis wrote:
> The best that could be done would be to warn about the comparison
> or to make it an error.
>
> http://d.puremagic.com/issues/show_bug.cgi?id=259
>...

The best that could be done would arguably be to simply do the 
comparison the 'right' way. E.g. static assert(-1 < 0u).


More information about the Digitalmars-d-learn mailing list