.TH "std::lock_guard< _Mutex >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::lock_guard< _Mutex > \- A simple scoped lock type\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "\fBtypedef\fP \fB_Mutex\fP \fBmutex_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBlock_guard\fP (const \fBlock_guard\fP &)=\fBdelete\fP" .br .ti -1c .RI "\fBlock_guard\fP (mutex_type &\fB__m\fP)" .br .ti -1c .RI "\fBlock_guard\fP (mutex_type &\fB__m\fP, \fBadopt_lock_t\fP) noexcept" .br .ti -1c .RI "\fBlock_guard\fP & \fBoperator=\fP (const \fBlock_guard\fP &)=\fBdelete\fP" .br .in -1c .SH "Detailed Description" .PP .SS "template<\fBtypename\fP \fB_Mutex\fP> .br class std::lock_guard< _Mutex >"A simple scoped lock type\&. A lock_guard controls mutex ownership within a scope, releasing ownership in the destructor\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.