27 Aug
2002
27 Aug
'02
2:22 p.m.
--- In Boost-Users@y..., "Tanton Gibbs"
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.