Namespaces
Variants
Views
Actions

std::thread::~thread

From cppreference.com
< cpp‎ | thread‎ | thread
~thread();
(since C++11)

Destroys the thread object. If *this still has an associated thread that wasn't joined or detached (i.e. joinable() == true), std::terminate() is called.