Serious problem with opCmp
kov_serg
kov_serg at freemail.ru
Sun Mar 2 14:18:22 PST 2008
Bill Baxter Wrote:
...
> But I do think the examples of using opCmp should be changed to be more
> like "return lv<rv?-1: rv<lv?+1: 0;" as you said (where lv is member of
> 'this' in the D version).
Yes. I've just pointed out the problem exist and I want to eliminate this mistake and prevent other people to copy it into their code.
It requires to review and rewrite documentation and codes have been writen by people till now.
More information about the Digitalmars-d
mailing list