W3cubDocs

/C++

std::thread::id::id

id();
(since C++11)

Default-constructs a new thread identifier. The identifier does not represent a thread.

Parameters

(none).

Exceptions

noexcept specification:
noexcept

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/thread/thread/id/id