
27 Apr
2008
27 Apr
'08
4:26 p.m.
On Sun, Apr 27, 2008 at 4:22 PM, Steven Watanabe <watanabesj@gmail.com> wrote:
Further, it cannot handle implicit conversions of the argument types and return types.
What seems is needed is a template is_assignable<boost_fun, fun> that evaluates to true iff an instance of type fun is assignable to a boost::function object of type boost_fun Of course it should work also if fun is a function signature. You have found two shortcomings of struct is_compatible, any solution ? Thanks Marco