operator== 运算符(<thread>)
比较两个 thread::id 对象是否相等。
bool operator== (
thread::id Left,
thread::id Right) _NOEXCEPT
参数
Left
左 thread::id 对象。
Right
正确的 thread::id 对象。
返回值
true,如果两个对象表示执行同一线程或,如果两个对象不表示执行线程;否则,false。
备注
此功能不引发任何异常。
要求
**标头:**线程
**命名空间:**std
请参见
参考
<thread>
其他资源
标头文件