首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

operator<<(std::thread::id)

template< class CharT, class Traits > std::basic_ostream<CharT,Traits>& operator<<( std::basic_ostream<CharT,Traits>& ost, thread::id id );

?

(since C++11)

写入线程标识符的文本表示形式。id到输出流ost...

如果两个线程标识符比较相等,则它们具有相同的文本表示;如果它们不比较相等,则它们的表示是不同的。

参数

ost

-

output stream to insert the data into

id

-

thread identifier

返回值

ost...

例外

%280%29

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com