Sorting algorithm

Ellery Newcomer ellery-newcomer at utulsa.edu
Sat Oct 8 13:15:49 PDT 2011


it'd be nice if there were some convenience templates somewhere for
converting a lt function to le,gt,ge, etc


On 10/08/2011 10:04 AM, Andrei Alexandrescu wrote:
> 
> I don't understand. Say all you have is "<". Then you can do everything:
> 
> a <= b is !(b < a)
> a > b is b < a


More information about the Digitalmars-d mailing list