Custom opCmp for struct array sort

New d-devel at here.com
Fri Nov 28 06:48:52 PST 2008


I see, sorry about that, I missed the D1 bit in your message and tested on D2, what would I need to do to make it run on D2?

Is D2 production ready?, is it better to use D1?

thanks


bearophile Wrote:

> 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