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