
21 Jul
2006
21 Jul
'06
11:44 a.m.
Pavol Droba wrote:
Now my comments to your patches:
1.) const Predicate& Pred Although this change can bring a performance benefits, it has one big drawback. You cannot pass an ordinary C function as predicate. At least not in VC++ 7.1
Would it be possible to use the argument_traits library to determine the most efficient way of passing the argument? Or would that destroy the deduction of template arguments? Sebastian