challenge: implement the max function

Lionello Lunesu lio at lunesu.remove.com
Mon Jan 22 00:25:37 PST 2007


donth ave wrote:
> Xinok Wrote:
> 
>> T[0]+T[1]
> To have addition is an additional(sic!) requirement not present in the
> challenge.

Would typeof(T[0]>T[1]?T[0]:T[1]) work? I'd have to test it, I guess :)



More information about the Digitalmars-d mailing list