operator<<(std::thread::id) (3) - Linux Manuals

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

NAME

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

Synopsis


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


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)