call_once/once_flag

#include<thread> #include<iostream> #include<mutex> using namespace std; //std::once_flag flag; void func(int a, int b) {         cout << a << b << endl; } void do_once(void* flag)//std::once_flag 不能引
本站公眾號
   歡迎關注本站公眾號,獲取更多信息