Boost logo

Boost :

From: Marco Costalba (mcostalba_at_[hidden])
Date: 2008-04-27 12:26:57


On Sun, Apr 27, 2008 at 4:22 PM, Steven Watanabe <watanabesj_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk