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