摘要:
async绑定类的成员函数 class myClass { public: bool test() { return true; } }; int main() { //myClass的一个实例 myClass obj; //利用std::bind绑定类的成员函数 auto func = std:: 阅读全文
posted @ 2021-11-08 11:16
冰糖葫芦很乖
阅读(539)
评论(0)
推荐(0)
摘要:
转载来自:https://www.cnblogs.com/taiyang-li/p/5914167.html #include <future> #include <iostream> bool is_prime(int x) { for (int i = 2; i < x; i++) { if ( 阅读全文
posted @ 2021-11-08 10:18
冰糖葫芦很乖
阅读(397)
评论(0)
推荐(0)

浙公网安备 33010602011771号