std::nostopstate_t
来自cppreference.com
< cpp | thread | stop source
并发支持库
|
|
在标头
<stop_token>
定义
|
||
struct
nostopstate_t {
explicit
nostopstate_t()
=
default; |
(C++20 起) | |
有意用于 std::stop_source 非默认构造函数中的占位符,使得构造的空 std::stop_source 无关联停止状态的单位类型。