On 2012-27-04 07:10, Walter Bright <newshound1 at digitalmars.com> wrote:
>> * OpCmp returning an int is fugly I r sad
>
> How else would you return a 3 state value?
enum Comparison {
Before = -1,
Same = 0,
After = 1,
Unordered = NaN,
}
I'm not saying it should be done, but it would be more readable
(and more cmoplex to write).
--
Simen