Construct a std::thread::id object that doesn't represent
any thread of execution.
id();
- Effects:
Constructs a
std::thread::idinstance that has the singular not a thread value.- Throws:
Nothing
- Note:
All default-constructed
std::thread::idinstances store the same value.
#include <thread>