
15 Jun
2010
15 Jun
'10
3:43 a.m.
Hi, does Boost.Bind contain anything to create a function object that is statically bound to a member function? IIUC all function objects created by bind contain a function pointer, so they have overhead compared to a manual function object. something like: struct A{ void f(); } A *a; bind<void (A::*)(),&A::f>(a); -> function object bound to "a", calling A::f