Phobos2: sorting and std.typecons.Tuple

bearophile bearophileHUGS at lycos.com
Mon Apr 27 10:52:19 PDT 2009


dsimcha:
> Vote++ for giving Tuple a decent default implementation of opCmp and toHash.

I have a much better idea (that I have expressed here more than one year ago): let's add good *recursive* opCmp, toHash, opEqual, toString to all structs.
Similar "small" things are able to improve the flexibility of D2 a lot.

Bye,
bearophile



More information about the Digitalmars-d mailing list