Reply to TSalm,

Hello,

I'm searching to have a generic comparator function.

I done this :

[...]


How can I declare this compare function to use specific code to
compare
arrays ?
Thanks in advance,
TSalm

take a look at static if and is

http://www.digitalmars.com/d/1.0/version.html#staticif
http://www.digitalmars.com/d/1.0/expression.html#IsExpression


Reply via email to