.TH "std::once_flag" 3cxx "Wed Jul 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::once_flag \- Flag type used by std::call_once\&. .SH SYNOPSIS .br .PP .SS "Public Member Functions" .in +1c .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 "Invoke a callable and synchronize with other calls using the same flag\&. " .in -1c .SH "Detailed Description" .PP Flag type used by std::call_once\&. .PP Definition at line 674 of file mutex\&. .SH "Constructor & Destructor Documentation" .PP .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 Invoke a callable and synchronize with other calls using the same flag\&. .PP Definition at line 772 of file mutex\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.