$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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