operator<< Operator (<thread>)
Inserts a text representation of a thread::id object into a stream.
template<class Elem, class Tr>
basic_ostream<Elem, Tr>& operator<<(
basic_ostream<Elem, Tr>& Ostr, thread::id Id);
Parameters
Ostr
A basic_ostream object.Id
A thread::id object.
Return Value
Ostr.
Remarks
This function inserts Id into Ostr.
If two thread::id objects compare equal, the inserted text representations of those objects are the same.
Requirements
Header: thread
Namespace: std