How to implement opCmp?
Honey via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jun 11 09:23:23 PDT 2017
On Sunday, 11 June 2017 at 15:40:42 UTC, Honey wrote:
> On Sunday, 11 June 2017 at 15:24:30 UTC, Honey wrote:
>> Doesn't it make sense to introduce another overload of cmp
>> similar to Steve's doCmp [2] right at that spot?
>
> Moreover, it seems that std.algorithm.cmp should employ three
> way comparison as well.
Forget about it. I think a different approach is required, here.
More information about the Digitalmars-d-learn
mailing list