Construct a std::thread object without an associated
thread of execution.
thread();
- Effects:
Constructs a
std::threadinstance that has no associated thread of execution.- Postconditions:
For a newly-constructed
std::threadobjectx,x.get_id()==id()- Throws:
Nothing
Header
#include <thread>