zhuzr

Results 2 comments of zhuzr

这个是只能调用threadpool自己的成员函数吗

namespace dao { class Impl : public IStore { public: virtual int del(const std::string& strId); }; std::threadpool executor; std::future test = executor.commit(std::bind(&dao::Impl::del, "id")); 是这样调用吗 编译报错 required from here /usr/include/c++/5/functional:1426:7: error:...