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

Name

Description

std::lock_guard<StdMutex>

Type Aliases

Name

mutex_type

Member Functions

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]

Created with MrDocs