|
Boost Users : |
From: Doug Gregor (dgregor_at_[hidden])
Date: 2005-10-26 11:21:10
On Oct 25, 2005, at 9:27 PM, Eric Pruneau wrote:
> boost::function1<void,IplImage*> Myfunct;
> Myfunct = boost::bind(&A::Callback, this);
This boost::bind expression creates a function object that takes zero
arguments. If you change it to:
Myfunct = boost::bind(&A::Callback, this, _1);
then things should work.
Doug
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