|
Boost Users : |
From: khuroth (dansilva_at_[hidden])
Date: 2002-08-27 09:22:14
--- In Boost-Users_at_y..., "Tanton Gibbs" <thgibbs_at_d...> wrote:
> > > my_button.on_click = bind( (_1 ->*
&A::GetController).DoSomething
> > (),
> > > this );
>
> I think what you want is something like
> bind( &Controller::DoSomething,
> bind( &A::GetController, _1 ) );
That didn't work when I tried earlier, either because bind()
produces a function instead of a pointer to a Controller or because
GetController returns a reference instead of a pointer.
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