std::nostopstate
来自cppreference.com
< cpp | thread | stop source
并发支持库
|
|
在标头
<stop_token>
定义
|
||
inline
constexpr
std::nostopstate_t
nostopstate{};
|
(C++20 起) | |
这是用于构造空 std::stop_source 的 std::nostopstate_t 常量对象实例,作为非默认构造函数中的占位值。