.TH "std::lock_guard< _Mutex >" 3cxx "Tue Jul 2 2019" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::lock_guard< _Mutex > \- A simple scoped lock type\&. .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "typedef _Mutex \fBmutex_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBlock_guard\fP (mutex_type &__m)" .br .ti -1c .RI "\fBlock_guard\fP (mutex_type &__m, \fBadopt_lock_t\fP) noexcept" .br .ti -1c .RI "\fBlock_guard\fP (const \fBlock_guard\fP &)=delete" .br .ti -1c .RI "\fBlock_guard\fP & \fBoperator=\fP (const \fBlock_guard\fP &)=delete" .br .in -1c .SH "Detailed Description" .PP .SS "template .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\&. .PP Definition at line 156 of file std_mutex\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.