Write a string representation of the std::thread::id value into the specified
stream.
template<typename charT, typename traits> basic_ostream<charT, traits>& operator<< ( basic_ostream<charT, traits>&& out, thread::id id);
- Effects:
Inserts a string representation of the
std::thread::idvalue into the specified stream.- Returns:
out- Throws:
Nothing
- Note:
The format of the string representation is not specified. Instances of
std::thread::idthat compare equal have the same representation, and instances that are not equal will have distinct representations.
#include <thread>