std::thread::~thread - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::thread::~thread

From cppreference.com
< cpp‎ | thread‎ | thread

~thread(); |  | (since C++11)

Destroys the thread object. If *this still has an associated running thread (i.e. joinable() == true), std::terminate() is called.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/thread/thread/%7Ethread&oldid=63483"