class template partial specialization
std::scoped_lock<Mutex>
- Header
<mutex>also in<condition_variable>,<future>,<shared_mutex>- Draft
- [mutex.syn]
- Scope
std- cppreference
- <mutex> nearest page
Synopsis
template<class Mutex>
class scoped_lock<Mutex>;Member types
| Name | Declaration |
|---|---|
mutex_typetype alias · member type | = Mutex |
Member functions
| Name | Declaration |
|---|---|
scoped_lockconstructor · 3 overloads | scoped_lock(const scoped_lock& other) +2 more |
~scoped_lockdestructor | ~scoped_lock() |
operator=operator | scoped_lock& operator=(const scoped_lock& other) |