Wayverb
Main Page
Related Pages
Classes
Files
File List
scoped_thread.h
1
#pragma once
2
3
#include <thread>
4
5
namespace
util
{
6
9
class
scoped_thread
final {
10
public
:
11
scoped_thread
() =
default
;
12
explicit
scoped_thread
(std::thread t);
13
~
scoped_thread
() noexcept;
14
15
scoped_thread
(
scoped_thread
&&) noexcept =
default
;
16
scoped_thread
& operator=(
scoped_thread
&&) noexcept =
default
;
17
18
private
:
19
std::thread t_;
20
};
21
22
}
// namespace util
util
Definition:
allocator.h:6
util::scoped_thread
Definition:
scoped_thread.h:9
src
utilities
include
utilities
scoped_thread.h
Generated by
1.8.11