技术栈
jthread
zh_xuan
29 分钟前
开发语言
·
c++
·
jthread
c++ jthread
测试下c++ 20的jthread。代码:运行:ok. jthread有内置停止标记。 而且析构会自动调用停止。
我是有底线的