Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | thread‎ | thread‎ | id
Revision as of 21:02, 31 May 2013 by P12bot (Talk | contribs)

 
 
Thread support library
Threads
(C++11)
this_thread namespace
(C++11)
(C++11)
(C++11)
Mutual exclusion
(C++11)
Generic lock management
(C++11)
(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)
 
 
 
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.

Parameters

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

Return value

ost

Exceptions

(none)