thread::id ID =get_id();//获取线程ID
stringstream ss;
ss << ID;
string strID = ss.str();
c++ 线程ID转换为字符串
最新推荐文章于 2023-09-24 14:31:09 发布
thread::id ID =get_id();//获取线程ID
stringstream ss;
ss << ID;
string strID = ss.str();