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


A basic_ostream object.


A thread::id object.

This function inserts Id into Ostr.

If two thread::id objects compare equal, the inserted text representations of those objects are the same.

Header: thread

Namespace: std

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft