Wayverb
|
#include <scoped_thread.h>
Public Member Functions | |
scoped_thread (std::thread t) | |
scoped_thread (scoped_thread &&) noexcept=default | |
scoped_thread & | operator= (scoped_thread &&) noexcept=default |
A wrapper for std::thread which can't be detached, and which will always join in its destructor (if the thread is joinable).