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)

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).

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/thread/thread/id/operator_ltlt