$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] warnings with boost::bind
From: Igor R (boost.lists_at_[hidden])
Date: 2009-03-31 10:13:52
> and what is the right way?
>
> boost::function<bool (const A&)> func=boost::bind<bool>(&A::SetData,&a,_1);
>
> and after that
>
> func(b);
boost::function<bool (const B&)> func= boost::bind(&A::SetData, &a, _1);
B b;
func(b);