但是CreateThread想要ReaderThread函数需要一个静态函数。cannot convert parameter x from 'boost::_bi::bind_t<R,F,L>'
因此,我的问题::
是否可以使用boost lib(或任何其他方法)从CreateThread调用类的非静态函数(如果不是任何<
我希望能够调用一个成员函数(例如。( doSomething() in class testClass )在类外使用某种函数模板。简而言之,能够以这种方式调用非静态成员函数,即来自functionCaller(t.doSomething)的main()。假设我有一个C++类,如:public:
tes