ignoring function arguments with Boost.Bind?

Please consider the following scenario:
class Caller
{
public:
Caller(...);
typedef boost::function

AMDG Christoph Duelli wrote:
but I was wondering: is it possible to leave do_it() as it is and work some magic with Boost.Bind that 'drops' the unwanted argument? Basically create an anonymous function object
caller.callback = boost::bind(&Callee::do_it, &callee); works for me. In Christ, Steven Watanabe
participants (2)
-
Christoph Duelli
-
Steven Watanabe