$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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.