challenge: implement the max function

Andrei Alexandrescu (See Website For Email) SeeWebsiteForEmail at erdani.org
Mon Jan 22 08:33:03 PST 2007


BLS wrote:
> I am a D newbie, so do not expect a strike from a genius....
> Ahem,
> what if we have a builtin (numeric!) variant datatype incl. variant[]?

Welcome to the club :o). That would work, but it would likely fail the 
efficiency test.

Andrei



More information about the Digitalmars-d mailing list