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

From cppreference.com
< cpp‎ | thread‎ | thread‎ | id
 
 
Thread support library
Threads
(C++11)
this_thread namespace
(C++11)
(C++11)
(C++11)
(C++11)
Mutual exclusion
(C++11)
(C++11)
(C++17)
Generic lock management
(C++11)
(C++11)
(C++14)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
Condition variables
(C++11)
Futures
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
 
 
 
template< class CharT, class Traits >

std::basic_ostream<CharT,Traits>&

    operator<<( std::basic_ostream<CharT,Traits>& ost, thread::id id );
(since C++11)

Writes a textual representation of a thread identifier id to the output stream ost.

If two thread identifiers compare equal, they have identical textual representations; if they do not compare equal, their representations are distinct.

[edit] Parameters

ost - output stream to insert the data into
id - thread identifier

[edit] Return value

ost

[edit] Exceptions

(none)