std.container.RedBlackTree versus C++ std::set

monarch_dodra monarchdodra at gmail.com
Fri Feb 15 14:49:53 PST 2013


On Friday, 15 February 2013 at 22:06:55 UTC, Steven Schveighoffer 
wrote:
> With opcmp:
>
> int opCmp(int a, int b)
> {
>    return a - b;
> }

Genius!

Now I feel bad for every time I've done integral opCmp with 
double ternary operators :(


More information about the Digitalmars-d-learn mailing list