.TH "std::once_flag" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::once_flag \- Flag type used by std::call_once\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBonce_flag\fP (const \fBonce_flag\fP &)=\fBdelete\fP" .br .RI "Deleted copy constructor\&. " .ti -1c .RI "\fBonce_flag\fP & \fBoperator=\fP (const \fBonce_flag\fP &)=\fBdelete\fP" .br .RI "Deleted assignment operator\&. " .in -1c .SS "Friends" .in +1c .ti -1c .RI "template<\fBtypename\fP _Callable , typename\&.\&.\&. _Args> \fBvoid\fP \fBcall_once\fP (\fBonce_flag\fP &\fB__once\fP, _Callable &&__f, \fB_Args\fP &&\&.\&.\&. \fB__args\fP)" .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\&. .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 Symbol Documentation" .PP .SS "template<\fBtypename\fP _Callable , typename\&.\&.\&. _Args> \fBvoid\fP call_once (\fBonce_flag\fP & __once, _Callable && __f, \fB_Args\fP &&\&.\&.\&. __args)\fC [friend]\fP" .PP Invoke a callable and synchronize with other calls using the same flag\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.