Custom opCmp for struct array sort

bearophile bearophileHUGS at lycos.com
Fri Nov 28 06:35:46 PST 2008


New Wrote:

> Thanks for cleaning up the code, I was getting a bit annoyed with the all the invariants, but I did not know how to get rid of them.

Note that my code is D1.

> I tried your version but still the opCmp is not called  :(

I don't agree, it's called:
http://codepad.org/FLVu8gqQ

Bye,
bearophile



More information about the Digitalmars-d mailing list