An annotated version of std::lock_guard for StdMutex.
Declared in <util/stdmutex.h>
class [[scoped_lockable]] Guard
: public std::lock_guard<StdMutex>
| Name | Description |
|---|---|
std::lock_guard<StdMutex> |
| Name |
|---|
mutex_type |
| Name | Description |
|---|---|
Guard [constructor] | Acquire the given mutex for the lifetime of this guard. |
~Guard [destructor] | Release the held mutex when the guard is destroyed. |
operator= [deleted] |