|
Boost Users : |
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2007-02-02 08:53:26
On Thursday 01 February 2007 23:02 pm, hongleij_at_[hidden] wrote:
> caller(500,boost::bind(&BufferMoniter::maitain,pBuffer)); //I want
> a functor of it
Could you do something like
boost::function<void ()> myfunc =
boost::bind(&BufferMoniter::maitain,pBuffer);
caller(500, myfunc);
?
-- Frank
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