.TH "std::once_flag" 3cxx "Fri May 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::once_flag \- once_flag .SH SYNOPSIS .br .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "constexpr \fBonce_flag\fP () noexcept=default" .br .RI "Constructor\&. " .ti -1c .RI "\fBonce_flag\fP (const \fBonce_flag\fP &)=delete" .br .RI "Deleted copy constructor\&. " .ti -1c .RI "\fBonce_flag\fP & \fBoperator=\fP (const \fBonce_flag\fP &)=delete" .br .RI "Deleted assignment operator\&. " .in -1c .SS "Friends" .in +1c .ti -1c .RI "template void \fBcall_once\fP (\fBonce_flag\fP &__once, _Callable &&__f, _Args &&\&.\&.\&. __args)" .br .RI "call_once " .in -1c .SH "Detailed Description" .PP once_flag .PP Definition at line 628 of file mutex\&. .SH "Constructor & Destructor Documentation" .PP .SS "constexpr std::once_flag::once_flag ()\fC [constexpr]\fP, \fC [default]\fP, \fC [noexcept]\fP" .PP Constructor\&. .SS "std::once_flag::once_flag (const \fBonce_flag\fP &)\fC [delete]\fP" .PP Deleted copy constructor\&. .SH "Member Function Documentation" .PP .SS "\fBonce_flag\fP& std::once_flag::operator= (const \fBonce_flag\fP &)\fC [delete]\fP" .PP Deleted assignment operator\&. .SH "Friends And Related Function Documentation" .PP .SS "template void call_once (\fBonce_flag\fP & __once, _Callable && __f, _Args &&\&.\&.\&. __args)\fC [friend]\fP" .PP call_once .PP Definition at line 666 of file mutex\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.