$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 06:57:51
> Another thing that I have seen now. The compiler crashes when I want to
> assign it to:
>
> boost::function<bool (const A&)> func=boost::bind<bool>(&A::SetData,&a);
>
> What is wrong?
MSVC crashes on args mismatch in bind. In your case SetData's should
be of type B, not A.