std::stop_token::~stop_token
来自 cppreference.cn
< cpp | thread | stop token
| ~stop_token(); |
(C++20 起) | |
销毁 stop_token 对象。
若 *this 拥有关联的停止状态,则释放其所有权。