opCmp with template type not working.

Jonathan Levi catanscout at gmail.com
Tue Nov 3 05:28:26 UTC 2020

On Tuesday, 3 November 2020 at 03:07:14 UTC, user1234 wrote:
> opCmp should return a signed integer. This allows to match well 
> with the x86 flag register and do fast comparison with integers 
> types (in which case just substract rhs to lhs and you're good)

Um, I missed that.  Man, I have some old errors in my code.  I 
had opCmp implemented that way for a while, and apparently never 
tested or used it.  I see that now in the spec.

More information about the Digitalmars-d mailing list