Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-03-20 10:36:34


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net