|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2006-02-09 13:53:19
> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk