StdMutex::Guard

An annotated version of std::lock_guard for StdMutex.

Synopsis

Declared in <util/stdmutex.h>

class [[scoped_lockable]] Guard
    : public std::lock_guard<StdMutex>

Base Classes

NameDescription
std::lock_guard<StdMutex>

Type Aliases

Name
mutex_type

Member Functions

NameDescription
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]