.TH "std::scoped_lock< _MutexTypes >" 3cxx "Thu Feb 16 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::scoped_lock< _MutexTypes > \- A scoped lock type for multiple lockable objects\&. .SH SYNOPSIS .br .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBscoped_lock\fP (_MutexTypes &\&.\&.\&. __m)" .br .ti -1c .RI "\fBscoped_lock\fP (\fBadopt_lock_t\fP, _MutexTypes &\&.\&.\&. __m) noexcept" .br .ti -1c .RI "\fBscoped_lock\fP (const \fBscoped_lock\fP &)=delete" .br .ti -1c .RI "\fBscoped_lock\fP & \fBoperator=\fP (const \fBscoped_lock\fP &)=delete" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class std::scoped_lock< _MutexTypes >"A scoped lock type for multiple lockable objects\&. A scoped_lock controls mutex ownership within a scope, releasing ownership in the destructor\&. .PP Definition at line \fB616\fP of file \fBmutex\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fBstd::scoped_lock\fP< _MutexTypes >::scoped_lock (_MutexTypes &\&.\&.\&. __m)\fC [inline]\fP, \fC [explicit]\fP" .PP Definition at line \fB619\fP of file \fBmutex\fP\&. .SS "template \fBstd::scoped_lock\fP< _MutexTypes >::scoped_lock (\fBadopt_lock_t\fP, _MutexTypes &\&.\&.\&. __m)\fC [inline]\fP, \fC [explicit]\fP, \fC [noexcept]\fP" .PP Definition at line \fB622\fP of file \fBmutex\fP\&. .SS "template \fBstd::scoped_lock\fP< _MutexTypes >::~\fBscoped_lock\fP ()\fC [inline]\fP" .PP Definition at line \fB626\fP of file \fBmutex\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.