Destroys a std::thread
object.
~thread();
- Effects:
Destroys
*this. If*thishas an associated thread of execution (this->joinable()would returntrue), callsstd::terminate()to abort the program.- Throws:
Nothing.
Header
#include <thread>