MIN MAX problem

janderson askme at me.com
Tue Mar 13 22:47:53 PDT 2007


Hasan Aljudy wrote:
> 
> 
> Daniel Keep wrote:
>>
>> In the archives somewhere, there is a long thread discussing an
>> implementation of min (or max; can't remember).  From what I do
>> remember, it basically boiled down to "good grief this is actually
>> really hard once you involve types!".
> 
> Doesn't the new mixin construct solve the issue?
> 

Not unless you want to wrap your min/max statement's in mixins.  I think 
this is overkill for min/max unless it was used for some higher level 
pattern.

-Joel



More information about the Digitalmars-d mailing list