
2 May
2012
2 May
'12
3:57 p.m.
Bind creates a function object, while XtAppAddTimeOut expects a function pointer, as you mentioned. You can define a static member function that matches XtTimerCallbackProc signature, and pass it without bind. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Thanks, that was the way i did it before. But from a static member function i have no access to the object attributes, so i had to make it a singleton class that was what i wanted to prevent by using bind.