What's up with the windows headers?
Phil Lavoie
maidenphil at hotmail.com
Fri Dec 28 05:38:47 PST 2012
Hi,
Sorry for the duplicate the forum did not seem to have processed
my post so I made another one. I'm sorry I didn't mean TYPE
INFERENCE did not work I meant that this:
int x
uint y;
min( x, y ) will not compile, you would have to rewrite it to
min( x, cast( int )y ) for example, or min!int( x, y ). I am just
saying that there is an implementation in std.algorithm that work
right out of the box without such explicitness. In addition, it
works with a variable amount of params ( z = min( a, b, c, d, e,
..., y ) ), so I am just saying either we solicit the use of that
one or implement it for two parameters :).
I'll let you know about how it goes with everything.
Phil
More information about the Digitalmars-d
mailing list