//===----------------------------------------------------------------------===// // // ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // class thread::id // template // basic_ostream& // operator<<(basic_ostream& out, thread::id id); #include #include #include int main() { std::thread::id id0 = std::this_thread::get_id(); std::ostringstream os; os << id0; }