|
tenno 0.1.0
|
A simple lock guard implementation. More...
#include <mutex.hpp>
Public Member Functions | |
| lock_guard (M &m) | |
| ~lock_guard () | |
| void | operator= (const lock_guard &)=delete |
A simple lock guard implementation.
| M | The type of the mutex to guard |
Locks the mutex in the constructor and unlocks it in the destructor.
|
inlineexplicit |
|
inline |
|
delete |