Namespaces
Variants
Views
Actions

std::thread::~thread

From cppreference.com
< cpp‎ | thread‎ | thread
Revision as of 18:33, 9 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
~thread();
(since C++11)

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