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