Delen via


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

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

See Also

Reference

<thread>

Other Resources

C++ Standard Library Header Files