$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] compiling error from code using boost::bind code in Vs2010
From: Daniel James (dnljms_at_[hidden])
Date: 2013-02-19 16:42:26
On 20 February 2013 00:27, Miguel Carvajal
<macarvajal_at_[hidden]> wrote:
> class B
> {
>
> A a;
> public;
>
>         VectorClass f(VectorClass,double);
>
>         void test()
>         {
>                 a.evaluate(bind(f,this,_1,_2));
>         }
> };
I think you need to use '&B::f' rather than 'f' to get a member
function pointer to 'f'.