Boost logo

Boost Users :

Subject: Re: [Boost-users] What's wrong with my use of member-function bind?
From: Igor R (boost.lists_at_[hidden])
Date: 2011-07-28 04:40:25


>   void bar (int);
>   };
<...>
> subscribe (STATE1, bind(&S::bar, &s1));  // this one is wrong.  Why?

bind(&S::bar, &s1, _1)


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