Wayverb
util::scoped_thread Class Referencefinal

#include <scoped_thread.h>

Public Member Functions

 scoped_thread (std::thread t)
 
 scoped_thread (scoped_thread &&) noexcept=default
 
scoped_threadoperator= (scoped_thread &&) noexcept=default
 

Detailed Description

A wrapper for std::thread which can't be detached, and which will always join in its destructor (if the thread is joinable).


The documentation for this class was generated from the following files: