operator<<运算符(<thread>)

插入 thread::id 对象的文本表示形式添加到流中。

template<class Elem, class Tr>
   basic_ostream<Elem, Tr>& operator<<(
      basic_ostream<Elem, Tr>& Ostr, thread::id Id);

参数

返回值

Ostr.

备注

此功能插入 Id 到 Ostr中。

如果两 thread::id 对象相等,这些对象中的插入文本表示相同。

要求

**标头:**线程

**命名空间:**std

请参见

参考

<thread>

其他资源

标头文件