std::once_flag - Man Page

Flag type used by std::call_once.

Synopsis

Public Member Functions

once_flag (const once_flag &)=delete
Deleted copy constructor.
once_flag & operator= (const once_flag &)=delete
Deleted assignment operator.

Friends

template<typename _Callable , typename... _Args> void call_once (once_flag &__once, _Callable &&__f, _Args &&... __args)
Invoke a callable and synchronize with other calls using the same flag.

Detailed Description

Flag type used by std::call_once.

Definition at line 673 of file mutex.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Info

Wed Feb 10 2021 libstdc++