$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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.