
9 Feb
2006
9 Feb
'06
6:53 p.m.
I'm far from being an expert in this area, but, what happens if you change the second ctor of any_conversion (which is only to kick in for function references) from
template <typename T> any_conversion(T&);
to
template <typename T> any_conversion(T);
I don't believe that would help: in fact it would make the two constructors ambiguous, and in any case you can't pass a function type through a by-value constructor. John.