名前空間
変種

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

提供: cppreference.com
 
 
スレッドサポートライブラリ
スレッド
(C++11)
(C++20)
(C++20)
this_thread 名前空間
(C++11)
(C++11)
(C++11)
相互排他
(C++11)
汎用ロック管理
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
条件変数
(C++11)
セマフォ
ラッチとバリア
(C++20)
(C++20)
フューチャー
(C++11)
(C++11)
(C++11)
(C++11)
 
 
std::thread::id
メンバ関数
非メンバ関数
(C++20未満)(C++20未満)(C++20未満)(C++20未満)(C++20未満)(C++20)
ヘルパークラス
 
<tbody> </tbody>
template< class CharT, class Traits > std::basic_ostream<CharT,Traits>& operator<<( std::basic_ostream<CharT,Traits>& ost, thread::id id );
(C++11以上)

スレッド識別子 id のテキスト表現を出力ストリーム ost に書き込みます。

2つのスレッド識別子が比較して等しい場合、それらは同じテキスト表現を持ちます。 等しくない場合、それらの表現は異なります。

引数

ost - データを挿入する出力ストリーム
id - スレッド識別子

戻り値

ost

例外

(なし)

Morty Proxy This is a proxified and sanitized view of the page, visit original site.